| @@ 52-62 (lines=11) @@ | ||
| 49 | $this->reflection = $reflection; |
|
| 50 | } |
|
| 51 | ||
| 52 | protected function processAllTags($phpdoc) |
|
| 53 | { |
|
| 54 | // Iterate over all of the tags, and process them as necessary. |
|
| 55 | foreach ($phpdoc->getTags() as $tag) { |
|
| 56 | $processFn = [$this, 'processGenericTag']; |
|
| 57 | if (array_key_exists($tag->getName(), $this->tagProcessors)) { |
|
| 58 | $processFn = [$this, $this->tagProcessors[$tag->getName()]]; |
|
| 59 | } |
|
| 60 | $processFn($tag); |
|
| 61 | } |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * Parse the docBlock comment for this command, and set the |
|
| @@ 246-256 (lines=11) @@ | ||
| 243 | return !empty($nextLine); |
|
| 244 | } |
|
| 245 | ||
| 246 | protected function processAllTags($tags) |
|
| 247 | { |
|
| 248 | // Iterate over all of the tags, and process them as necessary. |
|
| 249 | foreach ($tags as $tag) { |
|
| 250 | $processFn = [$this, 'processGenericTag']; |
|
| 251 | if (array_key_exists($tag->getTag(), $this->tagProcessors)) { |
|
| 252 | $processFn = [$this, $this->tagProcessors[$tag->getTag()]]; |
|
| 253 | } |
|
| 254 | $processFn($tag); |
|
| 255 | } |
|
| 256 | } |
|
| 257 | ||
| 258 | protected function lastParameterName() |
|
| 259 | { |
|