Ast
class Ast
Methods
__construct()
No description
array|null
parse(string $code)
Parse PHP code into an AST.
string
proxy(string $className, string $sourceFilePath, string $sourceCode)
Generate proxy code for the given class.
Details
at line 19
__construct()
No description
at line 28
array|null
parse(string $code)
Parse PHP code into an AST.
at line 39
string
proxy(string $className, string $sourceFilePath, string $sourceCode)
Generate proxy code for the given class.
Parse the supplied class source, apply all registered AST visitors, and return the modified PHP code.