Ast
class Ast
Methods
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 22
array|null
parse(string $code)
Parse PHP code into an AST.
at line 35
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.