| 1 | <?php |
||
| 11 | final class CreateIndexCommand extends Command |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $signature = 'laravel-elasticsearch:utils:index-create |
||
| 17 | {index-name : The index name}'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Client |
||
| 21 | */ |
||
| 22 | private $client; |
||
| 23 | |||
| 24 | public function __construct( |
||
| 31 | |||
| 32 | public function handle(): int |
||
| 78 | |||
| 79 | private function argumentIsValid($indexName): bool |
||
| 94 | } |
||
| 95 |