Commit 0f7b2f72 authored by Taylor Otwell's avatar Taylor Otwell

Refactoring the cache class and its comments.

parent 4c243f3a
......@@ -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 @@ class Cache {
/**
* 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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment