-
-
Save vanchelo/33c5b2e83a4dd7ce75b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => PhpParser\Node\Stmt\Namespace_ Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => App | |
[1] => Http | |
[2] => Controllers | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 3 | |
[endLine] => 3 | |
) | |
) | |
[stmts] => Array | |
( | |
[0] => PhpParser\Node\Stmt\Use_ Object | |
( | |
[subNodes:protected] => Array | |
( | |
[type] => 1 | |
[uses] => Array | |
( | |
[0] => PhpParser\Node\Stmt\UseUse Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => App | |
[1] => Http | |
[2] => Requests | |
[3] => SomeRequest | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 5 | |
[endLine] => 5 | |
) | |
) | |
[alias] => SomeRequest | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 5 | |
[endLine] => 5 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 5 | |
[endLine] => 5 | |
) | |
) | |
[1] => PhpParser\Node\Stmt\Class_ Object | |
( | |
[subNodes:protected] => Array | |
( | |
[type] => 0 | |
[name] => WelcomeController | |
[extends] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => Controller | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 7 | |
[endLine] => 7 | |
) | |
) | |
[implements] => Array | |
( | |
) | |
[stmts] => Array | |
( | |
[0] => PhpParser\Node\Stmt\ClassMethod Object | |
( | |
[subNodes:protected] => Array | |
( | |
[type] => 1 | |
[byRef] => | |
[name] => __construct | |
[params] => Array | |
( | |
) | |
[stmts] => Array | |
( | |
[0] => PhpParser\Node\Expr\FuncCall Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => dump | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 14 | |
[endLine] => 14 | |
) | |
) | |
[args] => Array | |
( | |
[0] => PhpParser\Node\Arg Object | |
( | |
[subNodes:protected] => Array | |
( | |
[value] => PhpParser\Node\Scalar\MagicConst\Class_ Object | |
( | |
[subNodes:protected] => Array | |
( | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 14 | |
[endLine] => 14 | |
) | |
) | |
[byRef] => | |
[unpack] => | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 14 | |
[endLine] => 14 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 14 | |
[endLine] => 14 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[comments] => Array | |
( | |
[0] => PhpParser\Comment\Doc Object | |
( | |
[text:protected] => /** | |
* Create a new controller instance. | |
*/ | |
[line:protected] => 9 | |
) | |
) | |
[startLine] => 12 | |
[endLine] => 15 | |
) | |
) | |
[1] => PhpParser\Node\Stmt\ClassMethod Object | |
( | |
[subNodes:protected] => Array | |
( | |
[type] => 1 | |
[byRef] => | |
[name] => index | |
[params] => Array | |
( | |
[0] => PhpParser\Node\Param Object | |
( | |
[subNodes:protected] => Array | |
( | |
[type] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => SomeRequest | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 20 | |
[endLine] => 20 | |
) | |
) | |
[byRef] => | |
[variadic] => | |
[name] => request | |
[default] => | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 20 | |
[endLine] => 20 | |
) | |
) | |
) | |
[stmts] => Array | |
( | |
[0] => PhpParser\Node\Expr\FuncCall Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => dump | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
[args] => Array | |
( | |
[0] => PhpParser\Node\Arg Object | |
( | |
[subNodes:protected] => Array | |
( | |
[value] => PhpParser\Node\Expr\FuncCall Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => get_class | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
[args] => Array | |
( | |
[0] => PhpParser\Node\Arg Object | |
( | |
[subNodes:protected] => Array | |
( | |
[value] => PhpParser\Node\Expr\Variable Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => request | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
[byRef] => | |
[unpack] => | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
[byRef] => | |
[unpack] => | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 22 | |
[endLine] => 22 | |
) | |
) | |
[1] => PhpParser\Node\Stmt\Return_ Object | |
( | |
[subNodes:protected] => Array | |
( | |
[expr] => PhpParser\Node\Expr\FuncCall Object | |
( | |
[subNodes:protected] => Array | |
( | |
[name] => PhpParser\Node\Name Object | |
( | |
[subNodes:protected] => Array | |
( | |
[parts] => Array | |
( | |
[0] => view | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 23 | |
[endLine] => 23 | |
) | |
) | |
[args] => Array | |
( | |
[0] => PhpParser\Node\Arg Object | |
( | |
[subNodes:protected] => Array | |
( | |
[value] => PhpParser\Node\Scalar\String Object | |
( | |
[subNodes:protected] => Array | |
( | |
[value] => welcome | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 23 | |
[endLine] => 23 | |
) | |
) | |
[byRef] => | |
[unpack] => | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 23 | |
[endLine] => 23 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 23 | |
[endLine] => 23 | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 23 | |
[endLine] => 23 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[comments] => Array | |
( | |
[0] => PhpParser\Comment\Doc Object | |
( | |
[text:protected] => /** | |
* Show the application welcome screen to the user. | |
*/ | |
[line:protected] => 17 | |
) | |
) | |
[startLine] => 20 | |
[endLine] => 24 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 7 | |
[endLine] => 26 | |
) | |
) | |
) | |
) | |
[attributes:protected] => Array | |
( | |
[startLine] => 3 | |
[endLine] => 3 | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment