Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class Port extends AbstractPort |
||
18 | { |
||
19 | /** @var string */ |
||
20 | final public const LOCALNAME = 'port'; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * Initialize a Port element. |
||
25 | * |
||
26 | * @param \DOMElement $xml The XML element we should load. |
||
27 | * @return static |
||
28 | * |
||
29 | * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException |
||
30 | * if the qualified name of the supplied element is wrong |
||
31 | */ |
||
32 | public static function fromXML(DOMElement $xml): static |
||
56 |