function MigratingSessionHandler::write
File
-
vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ MigratingSessionHandler.php, line 79
Class
- MigratingSessionHandler
- Migrating session handler for migrating from one handler to another. It reads from the current handler and writes both the current and new ones.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
public function write(string $sessionId, string $sessionData) : bool {
$result = $this->currentHandler
->write($sessionId, $sessionData);
$this->writeOnlyHandler
->write($sessionId, $sessionData);
return $result;
}