\Symfony\Component\HttpFoundation\Session\Storage\HandlerNullSessionHandler

Can be used in unit testing or in a situations where persisted sessions are not desired.

Summary

Methods
Properties
Constants
open()
validateId()
read()
write()
destroy()
close()
updateTimestamp()
gc()
No public properties found
No constants found
doRead()
doWrite()
doDestroy()
No protected properties found
N/A
No private methods found
$sessionName
$prefetchId
$prefetchData
$newSessionId
$igbinaryEmptyData
N/A

Properties

$sessionName

$sessionName : 

Type

$prefetchId

$prefetchId : 

Type

$prefetchData

$prefetchData : 

Type

$newSessionId

$newSessionId : 

Type

$igbinaryEmptyData

$igbinaryEmptyData : 

Type

Methods

open()

open(  $savePath,   $sessionName) 

{@inheritdoc}

Parameters

$savePath
$sessionName

validateId()

validateId(  $sessionId) : boolean

Checks if a session identifier already exists or not.

Parameters

$sessionId

Returns

boolean

read()

read(  $sessionId) 

{@inheritdoc}

Parameters

$sessionId

write()

write(  $sessionId,   $data) 

{@inheritdoc}

Parameters

$sessionId
$data

destroy()

destroy(  $sessionId) 

{@inheritdoc}

Parameters

$sessionId

close()

close() 

{@inheritdoc}

updateTimestamp()

updateTimestamp(  $sessionId,   $data) 

{@inheritdoc}

Parameters

$sessionId
$data

gc()

gc(  $maxlifetime) 

{@inheritdoc}

Parameters

$maxlifetime

doRead()

doRead(string  $sessionId) : string

Parameters

string $sessionId

Returns

string

doWrite()

doWrite(string  $sessionId, string  $data) : boolean

Parameters

string $sessionId
string $data

Returns

boolean

doDestroy()

doDestroy(string  $sessionId) : boolean

Parameters

string $sessionId

Returns

boolean