Commit d1f1c367 authored by Taylor Otwell's avatar Taylor Otwell

Formatting Cache class.

parent 45333c57
......@@ -32,13 +32,13 @@ 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
* now just say Cache::foo().
*/
public static function __callStatic($method, $parameters)
{
// Passing method calls to the driver instance provides a better API for the
// developer. For instance, instead of saying Cache::driver()->foo(), we can
// now just say Cache::foo().
return call_user_func_array(array(static::driver(), $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