Spec-Zone.ru › Laravel 5.1

FileSessionHandler

class FileSessionHandler implements SessionHandlerInterface (View source)

Свойства

protected Filesystem $files Экземпляр файловой системы.
protected string $path Путь для хранения сессий.
protected int $minutes Количество минут, в течение которого сессия должна быть действительной.

Методы

void __construct(Filesystem $files, string $path, int $minutes)

Создать новый экземпляр обработчика, управляемого файлами.

open($savePath, $sessionName)

{@inheritdoc}

close()

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($lifetime)

{@inheritdoc}

Детали

void __construct(Filesystem $files, string $path, int $minutes)

Создать новый экземпляр обработчика, управляемого файлами.

Параметры

Filesystem $files
string $path
int $minutes

Возвращаемое значение

void

open($savePath, $sessionName)

{@inheritdoc}

Параметры

$savePath
$sessionName

close()

{@inheritdoc}

read($sessionId)

{@inheritdoc}

Параметры

$sessionId

write($sessionId, $data)

{@inheritdoc}

Параметры

$sessionId
$data

destroy($sessionId)

{@inheritdoc}

Параметры

$sessionId

gc($lifetime)

{@inheritdoc}

Параметры

$lifetime

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Session/FileSessionHandler.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API