public function write(#[\SensitiveParameter] string $sessionId, string $sessionData): bool
{ $result =
$this->currentHandler->
write($sessionId,
$sessionData);
$this->writeOnlyHandler->
write($sessionId,
$sessionData);
return $result;
} public function validateId(#[\SensitiveParameter] string $sessionId): bool
{ // No reading from new handler until switch-over
return $this->currentHandler->
validateId($sessionId);
} public function updateTimestamp(#[\SensitiveParameter] string $sessionId, string $sessionData): bool
{ $result =
$this->currentHandler->
updateTimestamp($sessionId,
$sessionData);
$this->writeOnlyHandler->
updateTimestamp($sessionId,
$sessionData);
return $result;
}}