Spec-Zone.ru › Laravel 4.2

FileSessionHandler

class FileSessionHandler implements SessionHandlerInterface (View source)

Свойства

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

Методы

void __construct(Filesystem $files, string $path)

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

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)

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

Параметры

Filesystem $files
string $path

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

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/4.2/Illuminate/Session/FileSessionHandler.html

Spec-Zone.ru

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