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