public function __construct(Parser $parser, Resolver $resolver) { parent::__construct($parser); $this->resolver = $resolver; }