public function __construct(array $parsers) { $this->parsers = (function (ChainableParserInterface ...$parsers) { return $parsers; })(...$parsers); }