class CacheManager implements Factory (View source)
void | __construct(Application $app) Create a new Cache manager instance. | |
mixed | store(string|null $name = null) Get a cache store instance by name. | |
mixed | driver(string $driver = null) Get a cache driver instance. | |
Repository | repository(Store $store) Create a new cache repository with the given implementation. | |
string | getDefaultDriver() Get the default cache driver name. | |
void | setDefaultDriver(string $name) Set the default cache driver name. | |
$this | extend(string $driver, Closure $callback) Register a custom driver creator Closure. | |
mixed | __call(string $method, array $parameters) Dynamically call the default driver instance. |
Create a new Cache manager instance.
Get a cache store instance by name.
Get a cache driver instance.
Create a new cache repository with the given implementation.
Get the default cache driver name.
Set the default cache driver name.
Register a custom driver creator Closure.
Dynamically call the default driver instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Cache/CacheManager.html