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.
|
* All of the active cache drivers.
|
||||||
*
|
*
|
||||||
* @var Cache\Driver
|
* @var Cache\Driver
|
||||||
* @see driver
|
|
||||||
*/
|
*/
|
||||||
public static $drivers = array();
|
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.
|
* Pass all other methods to the default driver.
|
||||||
*
|
*
|
||||||
* Passing method calls to the driver instance provides a better API for the
|
* Passing method calls to the driver instance provides a better API for you.
|
||||||
* developer. For instance, instead of saying Cache::driver()->foo(), we can
|
* For instance, instead of saying Cache::driver()->foo(), you can just say Cache::foo().
|
||||||
* just say Cache::foo().
|
|
||||||
*/
|
*/
|
||||||
public static function __callStatic($method, $parameters)
|
public static function __callStatic($method, $parameters)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue