From d1f1c367e2763732c957181e7eed229cc1554506 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Jul 2011 14:00:20 -0700 Subject: [PATCH] Formatting Cache class. --- system/cache.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/cache.php b/system/cache.php index acf800b5..7a6e55a1 100644 --- a/system/cache.php +++ b/system/cache.php @@ -32,13 +32,13 @@ public static function driver($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 + * 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); }