| @@ 82-87 (lines=6) @@ | ||
| 79 | ||
| 80 | } |
|
| 81 | } |
|
| 82 | protected function createMethodParam(Tag $tag) { |
|
| 83 | $name = trim($tag->getVariableName(), '$'); |
|
| 84 | $param = new MethodParam($name); |
|
| 85 | $param->setType($this->getFQCN($tag->getType())); |
|
| 86 | return $param; |
|
| 87 | } |
|
| 88 | protected function createVar(Tag $tag) { |
|
| 89 | $name = trim($tag->getVariableName(), '$'); |
|
| 90 | $param = new Variable($name); |
|
| @@ 88-93 (lines=6) @@ | ||
| 85 | $param->setType($this->getFQCN($tag->getType())); |
|
| 86 | return $param; |
|
| 87 | } |
|
| 88 | protected function createVar(Tag $tag) { |
|
| 89 | $name = trim($tag->getVariableName(), '$'); |
|
| 90 | $param = new Variable($name); |
|
| 91 | $param->setType($this->getFQCN($tag->getType())); |
|
| 92 | return $param; |
|
| 93 | } |
|
| 94 | protected function createProperty(Tag $tag) { |
|
| 95 | $name = trim($tag->getVariableName(), '$'); |
|
| 96 | $prop = new ClassProperty; |
|
| @@ 94-100 (lines=7) @@ | ||
| 91 | $param->setType($this->getFQCN($tag->getType())); |
|
| 92 | return $param; |
|
| 93 | } |
|
| 94 | protected function createProperty(Tag $tag) { |
|
| 95 | $name = trim($tag->getVariableName(), '$'); |
|
| 96 | $prop = new ClassProperty; |
|
| 97 | $prop->name = $name; |
|
| 98 | $prop->setType($this->getFQCN($tag->getType())); |
|
| 99 | return $prop; |
|
| 100 | } |
|
| 101 | ||
| 102 | /** |
|
| 103 | * Creates FQN by type string |
|