/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Session
NameSizeModeActions
Console/-0755rm
Middleware/-0755rm
ArraySessionHandler.php26890644editdlrm
CacheBasedSessionHandler.php20980755editdlrm
composer.json11140755editdlrm
CookieSessionHandler.php28300755editdlrm
DatabaseSessionHandler.php72260644editdlrm
EncryptedStore.php16450644editdlrm
ExistenceAwareInterface.php2540644editdlrm
FileSessionHandler.php26700644editdlrm
LICENSE.md10750644editdlrm
NullSessionHandler.php11380644editdlrm
SessionManager.php63270755editdlrm
SessionServiceProvider.php14890755editdlrm
Store.php143050755editdlrm
TokenMismatchException.php1120755editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Session/CookieSessionHandler.php (2830B)
cookie = $cookie; $this->minutes = $minutes; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function open($savePath, $sessionName) { return true; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function close() { return true; } /** * {@inheritdoc} * * @return string|false */ #[\ReturnTypeWillChange] public function read($sessionId) { $value = $this->request->cookies->get($sessionId) ?: ''; if (! is_null($decoded = json_decode($value, true)) && is_array($decoded)) { if (isset($decoded['expires']) && $this->currentTime() <= $decoded['expires']) { return $decoded['data']; } } return ''; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function write($sessionId, $data) { $this->cookie->queue($sessionId, json_encode([ 'data' => $data, 'expires' => $this->availableAt($this->minutes * 60), ]), $this->minutes); return true; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function destroy($sessionId) { $this->cookie->queue($this->cookie->forget($sessionId)); return true; } /** * {@inheritdoc} * * @return int|false */ #[\ReturnTypeWillChange] public function gc($lifetime) { return true; } /** * Set the request instance. * * @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function setRequest(Request $request) { $this->request = $request; } }