CacheManager::setDefaultDriver()

void setDefaultDriver(string $name) Set the default cache driver name. Parameters string $name Return Value void

CacheManager::repository()

Repository repository(Store $store) Create a new cache repository with the given implementation. Parameters Store $store Return Value Repository

CacheManager::getDefaultDriver()

string getDefaultDriver() Get the default cache driver name. Return Value string

CacheManager::extend()

$this extend(string $driver, Closure $callback) Register a custom driver creator Closure. Parameters string $driver Closure $callback Return Value $this

CacheManager::driver()

mixed driver(string $driver = null) Get a cache driver instance. Parameters string $driver Return Value mixed

CacheManager

CacheManager class CacheManager implements Factory (View source) Methods 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(stri

CacheHit::__construct()

void __construct(string $key, mixed $value, array $tags = array()) Create a new event instance. Parameters string $key mixed $value array $tags Return Value void

CacheHit

CacheHit class CacheHit (View source) Properties string $key The key that was hit. mixed $value The value that was retrieved. array $tags The tags that were assigned to the key.

CacheBasedSessionHandler::__construct()

void __construct(Repository $cache, int $minutes) Create a new cache driven handler instance. Parameters Repository $cache int $minutes Return Value void

CacheBasedSessionHandler::write()

write($sessionId, $data) {@inheritdoc} Parameters $sessionId $data