From c13aec32f3aa6ba2c2c866a01cfb090e73c1ec6e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 19 Aug 2019 12:48:31 +0200 Subject: [PATCH] wip #2941 0.5 --- src/CubistBackpackServiceProvider.php | 3 ++- .../Commands/{SearchIndex.php => SearchIndexCommand.php} | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename src/app/Console/Commands/{SearchIndex.php => SearchIndexCommand.php} (97%) diff --git a/src/CubistBackpackServiceProvider.php b/src/CubistBackpackServiceProvider.php index 7269d76..b55da23 100644 --- a/src/CubistBackpackServiceProvider.php +++ b/src/CubistBackpackServiceProvider.php @@ -2,6 +2,7 @@ namespace Cubist\Backpack; +use Composer\Command\SearchCommand; use Cubist\Backpack\app\Console\Command\MigrateCommand; use Cubist\Backpack\app\Console\Commands\GenerateCommand; use Cubist\Backpack\app\Console\Commands\InstallCommand; @@ -49,6 +50,6 @@ class CubistBackpackServiceProvider extends ServiceProvider */ public function register() { - $this->commands([InstallCommand::class, GenerateCommand::class, MigrateCommand::class]); + $this->commands([InstallCommand::class, GenerateCommand::class, MigrateCommand::class, SearchIndexCommand::class]); } } diff --git a/src/app/Console/Commands/SearchIndex.php b/src/app/Console/Commands/SearchIndexCommand.php similarity index 97% rename from src/app/Console/Commands/SearchIndex.php rename to src/app/Console/Commands/SearchIndexCommand.php index 2566f93..cecef08 100644 --- a/src/app/Console/Commands/SearchIndex.php +++ b/src/app/Console/Commands/SearchIndexCommand.php @@ -13,7 +13,7 @@ use DOMDocument; use Illuminate\Console\Command; -class SearchIndex extends Command +class SearchIndexCommand extends Command { protected $signature = 'cubist:search:index'; protected $description = 'Index data for search engine'; -- 2.39.5