App\Providers\BusServiceProvider::boot PHP Méthode

boot() public méthode

Bootstrap any application services.
public boot ( Dispatcher $dispatcher ) : void
$dispatcher Illuminate\Bus\Dispatcher
Résultat void
    public function boot(Dispatcher $dispatcher)
    {
        $dispatcher->mapUsing(function ($command) {
            return Dispatcher::simpleMapping($command, 'App\\Commands', 'App\\Handlers\\Commands');
        });
    }
BusServiceProvider