| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class Extensions extends AbstractSamlpElement |
||
| 19 | { |
||
| 20 | use ExtensionsTrait; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create an Extensions object from its md:Extensions XML representation. |
||
| 24 | * |
||
| 25 | * For those supported extensions, an object of the corresponding class will be created. The rest will be added |
||
| 26 | * as a \SAML2\XML\Chunk object. |
||
| 27 | * |
||
| 28 | * @param \DOMElement $xml |
||
| 29 | * @return \SAML2\XML\md\Extensions |
||
| 30 | * @throws \InvalidArgumentException if the qualified name of the supplied element is wrong |
||
| 31 | */ |
||
| 32 | public static function fromXML(DOMElement $xml): object |
||
| 54 |