class CacheBasedSessionHandler implements SessionHandlerInterface (View source)
protected Repository | $cache | The cache repository instance. | |
protected int | $minutes | The number of minutes to store the data in the cache. |
void | __construct(Repository $cache, int $minutes) Create a new cache driven handler instance. | |
open($savePath, $sessionName) {@inheritdoc} | ||
close() {@inheritdoc} | ||
read($sessionId) {@inheritdoc} | ||
write($sessionId, $data) {@inheritdoc} | ||
destroy($sessionId) {@inheritdoc} | ||
gc($lifetime) {@inheritdoc} | ||
Repository | getCache() Get the underlying cache repository. |
Create a new cache driven handler instance.
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Get the underlying cache repository.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Session/CacheBasedSessionHandler.html