Edit File: GiveNewApplicationInstanceToValidationFactory.php
<?php namespace Laravel\Octane\Listeners; class GiveNewApplicationInstanceToValidationFactory { /** * Handle the event. * * @param mixed $event * @return void */ public function handle($event): void { if (! $event->sandbox->resolved('validator')) { return; } with($event->sandbox->make('validator'), function ($factory) use ($event) { $factory->setContainer($event->sandbox); }); } }
Back to File Manager