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