/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/FileSessionHandler.php (2670B)
path = $path; $this->files = $files; $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) { if ($this->files->isFile($path = $this->path.'/'.$sessionId)) { if ($this->files->lastModified($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) { return $this->files->sharedGet($path); } } return ''; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function write($sessionId, $data) { $this->files->put($this->path.'/'.$sessionId, $data, true); return true; } /** * {@inheritdoc} * * @return bool */ #[\ReturnTypeWillChange] public function destroy($sessionId) { $this->files->delete($this->path.'/'.$sessionId); return true; } /** * {@inheritdoc} * * @return int|false */ #[\ReturnTypeWillChange] public function gc($lifetime) { $files = Finder::create() ->in($this->path) ->files() ->ignoreDotFiles(true) ->date('<= now - '.$lifetime.' seconds'); foreach ($files as $file) { $this->files->delete($file->getRealPath()); } } }