| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class Terminate extends AbstractSamlpElement implements SchemaValidatableElementInterface |
||
| 19 | { |
||
| 20 | use SchemaValidatableElementTrait; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * Convert XML into a Terminate |
||
| 25 | * |
||
| 26 | * @param \DOMElement $xml The XML element we should load |
||
| 27 | * @return static |
||
| 28 | * |
||
| 29 | * @throws \SimpleSAML\XMLSchema\Exception\InvalidDOMElementException |
||
| 30 | * if the qualified name of the supplied element is wrong |
||
| 31 | */ |
||
| 32 | public static function fromXML(DOMElement $xml): static |
||
| 38 | } |
||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * Convert this Terminate to XML. |
||
| 43 | * |
||
| 44 | * @param \DOMElement|null $parent The element we are converting to XML. |
||
| 45 | * @return \DOMElement The XML element after adding the data corresponding to this Terminate. |
||
| 46 | */ |
||
| 47 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 52 |