public function WriteCheckSessionHandler::read in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/Handler/WriteCheckSessionHandler.php \Symfony\Component\HttpFoundation\Session\Storage\Handler\WriteCheckSessionHandler::read()
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ WriteCheckSessionHandler.php, line 71
Class
- WriteCheckSessionHandler
- Wraps another SessionHandlerInterface to only write the session when it has been modified.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
public function read($sessionId) {
$session = $this->wrappedSessionHandler
->read($sessionId);
$this->readSessions[$sessionId] = $session;
return $session;
}