class FileSessionHandler implements SessionHandlerInterface (View source)
protected Filesystem | $files | The filesystem instance. | |
protected string | $path | The path where sessions should be stored. | |
protected int | $minutes | The number of minutes the session should be valid. |
void | __construct(Filesystem $files, string $path, int $minutes) Create a new file driven handler instance. | |
open($savePath, $sessionName) {@inheritdoc} | ||
close() {@inheritdoc} | ||
read($sessionId) {@inheritdoc} | ||
write($sessionId, $data) {@inheritdoc} | ||
destroy($sessionId) {@inheritdoc} | ||
gc($lifetime) {@inheritdoc} |
Create a new file driven handler instance.
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Session/FileSessionHandler.html