%PDF- %PDF-
Direktori : /home/forge/api-takeaseat.eco-n-tech.co.uk/vendor/laravel/scout/src/ |
Current File : //home/forge/api-takeaseat.eco-n-tech.co.uk/vendor/laravel/scout/src/ScoutServiceProvider.php |
<?php namespace Laravel\Scout; use Illuminate\Support\ServiceProvider; use Laravel\Scout\Console\FlushCommand; use Laravel\Scout\Console\ImportCommand; class ScoutServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->mergeConfigFrom(__DIR__.'/../config/scout.php', 'scout'); $this->app->singleton(EngineManager::class, function ($app) { return new EngineManager($app); }); } /** * Bootstrap any application services. * * @return void */ public function boot() { if ($this->app->runningInConsole()) { $this->commands([ ImportCommand::class, FlushCommand::class, ]); $this->publishes([ __DIR__.'/../config/scout.php' => $this->app['path.config'].DIRECTORY_SEPARATOR.'scout.php', ]); } } }