Refactoring the cache class and its comments.
This commit is contained in:
parent
4c243f3a99
commit
0f7b2f72cb
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue