added comments to cache classes.

This commit is contained in:
Taylor Otwell
2011-09-28 22:55:48 -05:00
parent cc625e24c2
commit 288781c0df
2 changed files with 21 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ class File extends Driver {
*/
public function put($key, $value, $minutes)
{
// The expiration time is stored as a UNIX timestamp at the beginning of the file.
F::put($this->path.$key, (time() + ($minutes * 60)).serialize($value));
}