/** * @param XMLString $xml */ public function __construct(XMLString $xml) { $this->xml = $xml->getValue(); }