Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
45 | public static function fromXML(DOMElement $xml): object |
||
46 | { |
||
47 | Assert::same($xml->localName, 'SignatureValue', InvalidDOMElementException::class); |
||
48 | Assert::same($xml->namespaceURI, SignatureValue::NS, InvalidDOMElementException::class); |
||
49 | |||
50 | return new self($xml->textContent); |
||
51 | } |
||
53 |