| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class Message extends AbstractMessage |
||
| 18 | { |
||
| 19 | /** @var string */ |
||
| 20 | final public const LOCALNAME = 'message'; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * Initialize a message-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 |