public function __construct(GeneratorConfig $generator, fDOMElement $ctx) { $this->context = $ctx; $this->generator = $generator; }