Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function configure() |
||
29 | { |
||
30 | parent::configure(); |
||
31 | $this |
||
32 | ->setName('type:truncate') |
||
33 | ->setDescription('Truncates given document type (removes all documents of type).'); |
||
34 | |||
35 | $this->addArgument('indexName', InputArgument::REQUIRED, 'The index name.'); |
||
36 | $this->addArgument('documentType', InputArgument::REQUIRED, 'The document type to truncate.'); |
||
37 | } |
||
38 | |||
54 | } |