| @@ 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 |
|
| @@ 233-243 (lines=11) @@ | ||
| 230 | return !empty($nextLine); |
|
| 231 | } |
|
| 232 | ||
| 233 | protected function processAllTags($tags) |
|
| 234 | { |
|
| 235 | // Iterate over all of the tags, and process them as necessary. |
|
| 236 | foreach ($tags as $tag) { |
|
| 237 | $processFn = [$this, 'processGenericTag']; |
|
| 238 | if (array_key_exists($tag->getTag(), $this->tagProcessors)) { |
|
| 239 | $processFn = [$this, $this->tagProcessors[$tag->getTag()]]; |
|
| 240 | } |
|
| 241 | $processFn($tag); |
|
| 242 | } |
|
| 243 | } |
|
| 244 | ||
| 245 | protected function lastParameterName() |
|
| 246 | { |
|