public static function createFromXml(XmlElement $xml, Controller $controller) { return new static($xml->getTag("res")->nodeValue, $xml->getTag("title")->nodeValue); }