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
|
@@ 250-254 (lines=5) @@
|
247 |
|
$this->lastStatements = null; |
248 |
|
break; |
249 |
|
|
250 |
|
case T_FUNCTION: |
251 |
|
$Function = new Entity\ParserFunction($this, $tokens, $this->lastStatements); |
252 |
|
$this->Functions[strtolower($Function->name)] = $Function; |
253 |
|
$this->lastStatements = null; |
254 |
|
break; |
255 |
|
|
256 |
|
case T_COMMENT: |
257 |
|
if ($this->lastStatements !== null) { |