Total Complexity | 8 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | abstract class MessageFactory |
||
16 | { |
||
17 | /** |
||
18 | * Convert an XML element into a message. |
||
19 | * |
||
20 | * @param \DOMElement $xml The root XML element |
||
21 | * @throws \Exception |
||
22 | * @return \SAML2\XML\samlp\AbstractMessage The message |
||
23 | * |
||
24 | * @throws \InvalidArgumentException if assertions are false |
||
25 | */ |
||
26 | public static function fromXML(DOMElement $xml): object |
||
54 |