removed cache and session factories. moved cache item management into cache class and out of drivers. tweaked auth class.

This commit is contained in:
Taylor Otwell
2011-07-09 22:15:42 -05:00
parent ceb0e1a807
commit ca58f80b22
7 changed files with 24 additions and 113 deletions

View File

@@ -2,13 +2,6 @@
class File implements \System\Cache\Driver {
/**
* All of the loaded cache items.
*
* @var array
*/
public $items = array();
/**
* Determine if an item exists in the cache.
*
@@ -43,7 +36,7 @@ class File implements \System\Cache\Driver {
return null;
}
return $this->items[$key] = unserialize(substr($cache, 10));
return unserialize(substr($cache, 10));
}
/**