| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | protected function configure() |
||
| 17 | { |
||
| 18 | parent::configure(); // See BaseCommand.php |
||
| 19 | $this |
||
| 20 | ->setName('testCommand') |
||
| 21 | ->setDescription('Greet someone') |
||
| 22 | ->addArgument( |
||
| 23 | 'name', |
||
| 24 | InputArgument::OPTIONAL, |
||
| 25 | 'Who do you want to greet?' |
||
| 26 | ) |
||
| 27 | ->addOption( |
||
| 28 | 'yell', |
||
| 29 | null, |
||
| 30 | InputOption::VALUE_NONE, |
||
| 31 | 'If set, the task will yell in uppercase letters' |
||
| 32 | ); |
||
| 33 | |||
| 34 | $this->config = $this->container->get('config'); |
||
| 35 | } |
||
| 36 | |||
| 56 |