| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class BulkDeleteTask extends BuildTask |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * URLSegment of this task |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private static $segment = 'Truncastic'; |
||
|
|
|||
| 23 | /** |
||
| 24 | * My name |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $title = 'Truncate elastic core'; |
||
| 29 | /** |
||
| 30 | * What do I do? |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $description = 'Try to remove everything from an Elastic core, to start fresh.'; |
||
| 35 | /** |
||
| 36 | * @var bool |
||
| 37 | */ |
||
| 38 | protected $enabled = false; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param $request |
||
| 42 | * @return void |
||
| 43 | * @throws NotFoundExceptionInterface |
||
| 44 | */ |
||
| 45 | public function run($request) |
||
| 68 |