Spec-Zone.ru › Symfony 3.4

NullSessionHandler

class NullSessionHandler extends AbstractSessionHandler

Может использоваться в модульных тестах или в ситуациях, когда сохранение сессий не требуется.

Методы

open($savePath, $sessionName)

{@inheritdoc}

from AbstractSessionHandler
validateId($sessionId)

{@inheritdoc}

read($sessionId)

{@inheritdoc}

from AbstractSessionHandler
write($sessionId, $data)

{@inheritdoc}

from AbstractSessionHandler
destroy($sessionId)

{@inheritdoc}

from AbstractSessionHandler
close()

{@inheritdoc}

updateTimestamp($sessionId, $data)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

Подробности

open($savePath, $sessionName)

{@inheritdoc}

Параметры

$savePath
$sessionName

validateId($sessionId)

{@inheritdoc}

Параметры

$sessionId

read($sessionId)

{@inheritdoc}

Параметры

$sessionId

write($sessionId, $data)

{@inheritdoc}

Параметры

$sessionId
$data

destroy($sessionId)

{@inheritdoc}

Параметры

$sessionId

close()

{@inheritdoc}

updateTimestamp($sessionId, $data)

{@inheritdoc}

Параметры

$sessionId
$data

gc($maxlifetime)

{@inheritdoc}

Параметры

$maxlifetime

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/HttpFoundation/Session/Storage/Handler/NullSessionHandler.html

Spec-Zone.ru

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