| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class Prime extends AbstractPrimeFieldParamsType implements SchemaValidatableElementInterface |
||
| 18 | { |
||
| 19 | use SchemaValidatableElementTrait; |
||
|
|
|||
| 20 | |||
| 21 | /** |
||
| 22 | * Convert XML into a Prime element |
||
| 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 |
||
| 40 |