Refactoring the cache class and its comments.

This commit is contained in:
Taylor Otwell 2011-08-15 14:25:59 -05:00
parent 4c243f3a99
commit 0f7b2f72cb
1 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,6 @@ class Cache {
* All of the active cache drivers.
*
* @var Cache\Driver
* @see driver
*/
public static $drivers = array();
@ -86,9 +85,8 @@ public static function remember($key, $default, $minutes, $driver = null)
/**
* Pass all other methods to the default driver.
*
* Passing method calls to the driver instance provides a better API for the
* developer. For instance, instead of saying Cache::driver()->foo(), we can
* just say Cache::foo().
* Passing method calls to the driver instance provides a better API for you.
* For instance, instead of saying Cache::driver()->foo(), you can just say Cache::foo().
*/
public static function __callStatic($method, $parameters)
{