| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class ProxySuccess extends AbstractProxySuccess |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Initialize an ProxySuccess element. |
||
| 21 | * |
||
| 22 | * @param \DOMElement $xml The XML element we should load. |
||
| 23 | * @return static |
||
| 24 | * |
||
| 25 | * @throws \SimpleSAML\XMLSchema\Exception\InvalidDOMElementException |
||
| 26 | * if the qualified name of the supplied element is wrong |
||
| 27 | * @throws \SimpleSAML\XMLSchema\Exception\MissingAttributeException |
||
| 28 | * if the supplied element is missing any of the mandatory attributes |
||
| 29 | */ |
||
| 30 | public static function fromXML(DOMElement $xml): static |
||
| 46 |