SwaggerGen/Parser/Php/Entity/ParserClass.php 1 location
|
@@ 89-93 (lines=5) @@
|
86 |
|
} |
87 |
|
break; |
88 |
|
|
89 |
|
case T_FUNCTION: |
90 |
|
$Method = new ParserFunction($Parser, $tokens, $this->lastStatements); |
91 |
|
$this->Methods[strtolower($Method->name)] = $Method; |
92 |
|
$this->lastStatements = null; |
93 |
|
break; |
94 |
|
|
95 |
|
case T_EXTENDS: |
96 |
|
$mode = T_EXTENDS; |
SwaggerGen/Parser/Php/Parser.php 1 location
|
@@ 248-252 (lines=5) @@
|
245 |
|
$this->lastStatements = null; |
246 |
|
break; |
247 |
|
|
248 |
|
case T_FUNCTION: |
249 |
|
$Function = new Entity\ParserFunction($this, $tokens, $this->lastStatements); |
250 |
|
$this->Functions[strtolower($Function->name)] = $Function; |
251 |
|
$this->lastStatements = null; |
252 |
|
break; |
253 |
|
|
254 |
|
case T_COMMENT: |
255 |
|
if ($this->lastStatements !== null) { |