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: GiveNewApplicationInstanceToCacheManager.php
<?php namespace Laravel\Octane\Listeners; class GiveNewApplicationInstanceToCacheManager { /** * Handle the event. * * @param mixed $event */ public function handle($event): void { if (! $event->sandbox->resolved('cache')) { return; } with($event->sandbox->make('cache'), function ($manager) use ($event) { if (method_exists($manager, 'setApplication')) { $manager->setApplication($event->sandbox); } }); } }
Save
Cancel