Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PhpParser
Parser
Multiple
__construct
PhpParser\Parser\Multiple::__construct PHP Method
Multiple Class Documentation
显示文件
Open project: nikic/php-parser
__construct()
public
method
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; }
Multiple
__construct
parse
tryParse