Copied!
Cloneable Instantiable
Constants
public PhpParser\ParserFactory ::ONLY_PHP5 = 4
public PhpParser\ParserFactory ::ONLY_PHP7 = 3
public PhpParser\ParserFactory ::PREFER_PHP5 = 2
public PhpParser\ParserFactory ::PREFER_PHP7 = 1
Methods
public create ( int $kind , ? PhpParser\Lexer $lexer = NULL , array $parserOptions = [ ] ) : PhpParser\Parser
 

Creates a Parser instance, according to the provided kind.

© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only