Storage\Handler\WriteCheckSessionHandler (Component\HttpFoundation\Session)

Symfony\Component\HttpFoundation\Session\Storage\Handler\WriteCheckSessionHandler

class WriteCheckSessionHandler implements SessionHandlerInterface

Wraps another SessionHandlerInterface to only write the session when it has been modified.

Methods

__construct(SessionHandlerInterface $wrappedSessionHandler)
close()

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

open($savePath, $sessionName)

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

Details

public __construct(SessionHandlerInterface $wrappedSessionHandler)

Parameters

SessionHandlerInterface $wrappedSessionHandler

public close()

{@inheritdoc}

public destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

public gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime

public open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

public read($sessionId)

{@inheritdoc}

Parameters

$sessionId

public write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部