Edit File: GiveNewApplicationInstanceToCacheManager.php
<?php namespace Laravel\Octane\Listeners; class GiveNewApplicationInstanceToCacheManager { /** * Handle the event. * * @param mixed $event * @return void */ 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); } }); } }
Back to File Manager