@@ -134,6 +134,9 @@ |
||
| 134 | 134 | $this->commandProcessor()->hookManager()->add($commandName, $hook, $callback); |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | + /** |
|
| 138 | + * @param integer $n |
|
| 139 | + */ |
|
| 137 | 140 | protected function getNthWord($string, $n, $default, $delimiter = ' ') |
| 138 | 141 | { |
| 139 | 142 | $words = explode($delimiter, $string); |
@@ -1,10 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Consolidation\AnnotatedCommand; |
| 3 | 3 | |
| 4 | -use Symfony\Component\Console\Command\Command; |
|
| 5 | -use Symfony\Component\Console\Input\InputInterface; |
|
| 6 | -use Symfony\Component\Console\Output\OutputInterface; |
|
| 7 | - |
|
| 8 | 4 | class AnnotatedCommandFactory |
| 9 | 5 | { |
| 10 | 6 | protected $commandProcessor; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @var boolean |
| 21 | 21 | * @var string |
| 22 | - */ |
|
| 22 | + */ |
|
| 23 | 23 | protected $docBlockIsParsed; |
| 24 | 24 | |
| 25 | 25 | /** |