laravel / 8 / api / 8.x / illuminate / session / nullsessionhandler.html

NullSessionHandler

class NullSessionHandler implements SessionHandlerInterface (View source)

Methods

bool open($savePath, $sessionName)

{@inheritdoc}

bool close()

{@inheritdoc}

string|false read($sessionId)

{@inheritdoc}

bool write($sessionId, $data)

{@inheritdoc}

bool destroy($sessionId)

{@inheritdoc}

int|false gc($lifetime)

{@inheritdoc}

Details

bool open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

Return Value

bool

bool close()

{@inheritdoc}

Return Value

bool

string|false read($sessionId)

{@inheritdoc}

Parameters

$sessionId

Return Value

string|false

bool write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

Return Value

bool

bool destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

Return Value

bool

int|false gc($lifetime)

{@inheritdoc}

Parameters

$lifetime

Return Value

int|false

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