파일캐시의 잘못된 주석수정

This commit is contained in:
conory 2015-12-19 11:00:12 +09:00
parent 5ad1d3c59b
commit ec2e05b2ab

View file

@ -88,7 +88,8 @@ class CacheFile extends CacheBase
* Return whether cache is valid or invalid * Return whether cache is valid or invalid
* *
* @param string $key Cache key * @param string $key Cache key
* @param int $modified_time Not used * @param int $modified_time Unix time of data modified.
* If stored time is older then modified time, return false.
* @return bool Return true on valid or false on invalid. * @return bool Return true on valid or false on invalid.
*/ */
function isValid($key, $modified_time = 0) function isValid($key, $modified_time = 0)
@ -113,7 +114,8 @@ class CacheFile extends CacheBase
* Fetch a stored variable from the cache * Fetch a stored variable from the cache
* *
* @param string $key The $key used to store the value. * @param string $key The $key used to store the value.
* @param int $modified_time Not used * @param int $modified_time Unix time of data modified.
* If stored time is older then modified time, return false.
* @return false|mixed Return false on failure. Return the string associated with the $key on success. * @return false|mixed Return false on failure. Return the string associated with the $key on success.
*/ */
function get($key, $modified_time = 0) function get($key, $modified_time = 0)