decrypt($encryptedData); } /** @throws SessionException */ public function write(string $id, string $data): bool { $cryptedData = $this->encrypt($data); return parent::write($id, $cryptedData); } }