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: GiveNewApplicationInstanceToAuthorizationGate.php
<?php namespace Laravel\Octane\Listeners; use Illuminate\Contracts\Auth\Access\Gate; class GiveNewApplicationInstanceToAuthorizationGate { /** * Handle the event. * * @param mixed $event */ public function handle($event): void { if (! $event->sandbox->resolved(Gate::class)) { return; } $event->sandbox->make(Gate::class)->setContainer($event->sandbox); } }
Save
Cancel