Helper class for parsing PHP files.
| package | Default |
|---|
astToString(array<mixed,array> $ast) : string
array<mixed,array>
stringgetAst() : 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\PhpParserparseString(string $str) : \FeaturePhp\Helper\PhpParser
string
\FeaturePhp\Helper\PhpParser$ast : array<mixed,array>
null