| 1 | <?php |
||
| 8 | class DeleteIndexTask extends \BuildTask { |
||
| 9 | |||
| 10 | protected $title = 'Elastic Search Index Deletion'; |
||
| 11 | |||
| 12 | protected $description = 'Deletes the configured elastic search index'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var ElasticaService |
||
| 16 | */ |
||
| 17 | private $service; |
||
| 18 | |||
| 19 | public function __construct(ElasticaService $service) { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Execute the task to delete the currently configured index |
||
| 25 | */ |
||
| 26 | public function run($request) { |
||
| 33 | |||
| 34 | } |
||
| 35 |