| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 45 | protected function configure() { |
||
| 46 | |||
| 47 | /** @var Command $annotation */ |
||
| 48 | $annotation = $this->getAnnotation(\App\BxConsole\Annotations\Command::class); |
||
| 49 | |||
| 50 | if($annotation) { |
||
|
|
|||
| 51 | $this->setName($annotation->name); |
||
| 52 | $this->setDescription($annotation->description); |
||
| 53 | if($annotation->help) { |
||
| 54 | $this->setHelp($annotation->help); |
||
| 55 | } |
||
| 66 | } |