Formatting Cache class.

This commit is contained in:
Taylor Otwell 2011-07-06 14:00:20 -07:00
parent 45333c5743
commit d1f1c367e2
1 changed files with 4 additions and 4 deletions

View File

@ -32,13 +32,13 @@ public static function driver($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
* developer. For instance, instead of saying Cache::driver()->foo(), we can
* now just say Cache::foo().
*/ */
public static function __callStatic($method, $parameters) 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); return call_user_func_array(array(static::driver(), $method), $parameters);
} }