function MigratingSessionHandler::open
File
-
vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ MigratingSessionHandler.php, line 65
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 open(string $savePath, string $sessionName) : bool {
$result = $this->currentHandler
->open($savePath, $sessionName);
$this->writeOnlyHandler
->open($savePath, $sessionName);
return $result;
}