BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
laravel
/
octane
/
src
/
Listeners
📤 Upload
📝 New File
📁 New Folder
Close
Editing: FlushAuthenticationState.php
<?php namespace Laravel\Octane\Listeners; class FlushAuthenticationState { /** * Handle the event. * * @param mixed $event */ public function handle($event): void { if ($event->sandbox->resolved('auth.driver')) { $event->sandbox->forgetInstance('auth.driver'); } if ($event->sandbox->resolved('auth')) { with($event->sandbox->make('auth'), function ($auth) use ($event) { $auth->setApplication($event->sandbox); $auth->forgetGuards(); }); } } }
Save
Cancel