/** * Bootstrap any application services. * * @return void */ public function boot() { parent::boot(); $this->app->singleton('queue.failer', function ($app) { $config = $app['config']['queue.failed']; return new FilesystemFailedJobProvider(isset($config['path']) ? $config['path'] : storage_path('failed_jobs')); }); }
/** * {@inheritdoc} */ public function boot() { parent::boot(); $this->registerCommand(); }