PhpParser\Parser\Multiple::__construct PHP 메소드

__construct() 공개 메소드

Parsers will be invoked in the order they're provided to the constructor. If one of the parsers runs without throwing, it's output is returned. Otherwise the exception that the first parser generated is thrown.
public __construct ( array $parsers )
$parsers array
    public function __construct(array $parsers)
    {
        $this->parsers = $parsers;
    }