| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class AllowPostdating extends AbstractWstElement |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Convert XML into a class instance |
||
| 20 | * |
||
| 21 | * @param \DOMElement $xml The XML element we should load |
||
| 22 | * @return static |
||
| 23 | * |
||
| 24 | * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException |
||
| 25 | * If the qualified name of the supplied element is wrong |
||
| 26 | */ |
||
| 27 | public static function fromXML(DOMElement $xml): static |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Convert this element to XML. |
||
| 38 | * |
||
| 39 | * @param \DOMElement|null $parent The element we should append this element to. |
||
| 40 | * @return \DOMElement |
||
| 41 | */ |
||
| 42 | public function toXML(DOMElement $parent = null): DOMElement |
||
| 47 |