Always return cache driver instance.

This commit is contained in:
Taylor Otwell
2011-08-08 09:58:16 -05:00
parent a26efbc2e3
commit 6f26ce6e5f

View File

@@ -40,6 +40,8 @@ class Cache {
throw new \Exception("Cache driver [$driver] is not supported.");
}
}
return static::$drivers[$driver];
}
/**