| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 27 | public static function fromXML(DOMElement $xml): static  | 
            ||
| 28 |     { | 
            ||
| 29 | Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);  | 
            ||
| 30 | Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);  | 
            ||
| 31 | |||
| 32 | $AttributeName = self::getAttribute($xml, 'AttributeName');  | 
            ||
| 33 | $AttributeNamespace = self::getAttribute($xml, 'AttributeNamespace');  | 
            ||
| 34 | |||
| 35 | return new static($AttributeName, $AttributeNamespace);  | 
            ||
| 36 | }  | 
            ||
| 38 |