Helper class for parsing PHP files.
package | Default |
---|
astToString(array<mixed,array> $ast) : string
array<mixed,array>
string
getAst() : array<mixed,array>
array<mixed,array>
getExactlyOneClass(string $fileSource) : \PhpParser\Node\Stmt\Class_
string
\PhpParser\Node\Stmt\Class_
parseFile(string $fileName) : \FeaturePhp\Helper\PhpParser
string
\FeaturePhp\Helper\PhpParser
parseString(string $str) : \FeaturePhp\Helper\PhpParser
string
\FeaturePhp\Helper\PhpParser
$ast : array<mixed,array>
null