| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 20 | protected function configure() |
|
| 24 | { |
||
| 25 | $this |
||
| 26 | 20 | ->setName('php:eval') |
|
| 27 | 20 | ->setDescription('Run a specified PHP code') |
|
| 28 | 20 | ->addArgument('code', InputArgument::REQUIRED) |
|
| 29 | 20 | ->setHelp('In order to use this your PHP code needs to return the value you want to see |
|
| 30 | example: "return gethostname();"'); |
||
| 31 | 20 | } |
|
| 32 | |||
| 44 |