CacheManager
class CacheManager implements Factory (View source)
Methods
void
mixed
store(
string|null $name = null)
Get a cache store instance by name.
mixed
driver(
string $driver = null)
Get a cache driver instance.
string
getDefaultDriver()
Get the default cache driver name.
void
setDefaultDriver(
string $name)
Set the default cache driver name.
mixed
__call(
string $method,
array $parameters)
Dynamically call the default driver instance.
Details
at line line 217
Repository
repository(
Store $store)
Create a new cache repository with the given implementation.
at line line 280
$this
extend(
string $driver,
Closure $callback)
Register a custom driver creator Closure.
at line line 294
mixed
__call(
string $method,
array $parameters)
Dynamically call the default driver instance.