@@ 31-37 (lines=7) @@ | ||
28 | $this->commandInfo->setHelp((string)$phpdoc->getLongDescription()); |
|
29 | ||
30 | // Iterate over all of the tags, and process them as necessary. |
|
31 | foreach ($phpdoc->getTags() as $tag) { |
|
32 | $processFn = [$this, 'processGenericTag']; |
|
33 | if (array_key_exists($tag->getName(), $this->tagProcessors)) { |
|
34 | $processFn = [$this, $this->tagProcessors[$tag->getName()]]; |
|
35 | } |
|
36 | $processFn($tag); |
|
37 | } |
|
38 | } |
|
39 | ||
40 | /** |
@@ 33-39 (lines=7) @@ | ||
30 | $this->commandInfo->setHelp((string)$phpdoc->getDescription()); |
|
31 | ||
32 | // Iterate over all of the tags, and process them as necessary. |
|
33 | foreach ($phpdoc->getTags() as $tag) { |
|
34 | $processFn = [$this, 'processGenericTag']; |
|
35 | if (array_key_exists($tag->getName(), $this->tagProcessors)) { |
|
36 | $processFn = [$this, $this->tagProcessors[$tag->getName()]]; |
|
37 | } |
|
38 | $processFn($tag); |
|
39 | } |
|
40 | } |
|
41 | ||
42 | public function createDocBlock() |