Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class Prime extends AbstractPrimeFieldParamsType implements SchemaValidatableElementInterface |
||
19 | { |
||
20 | use SchemaValidatableElementTrait; |
||
|
|||
21 | |||
22 | /** |
||
23 | * Convert XML into a Prime element |
||
24 | * |
||
25 | * @param \DOMElement $xml The XML element we should load |
||
26 | * @return static |
||
27 | * |
||
28 | * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException |
||
29 | * If the qualified name of the supplied element is wrong |
||
30 | */ |
||
31 | public static function fromXML(DOMElement $xml): static |
||
41 |