public function __construct(Renderer $renderer, $context, &$xml) { $this->renderer = $renderer; $this->context = $context; $this->xml =& $xml; }