This function parses a DOMElement which represents either an EntityDescriptor element or an
EntitiesDescriptor element. It will return an associative array of SAMLParser instances in both cases.
public static parseDescriptorsElement ( DOMElement $element = null ) : SimpleSAML_Metadata_SAMLParser[] | ||
$element | DOMElement | The DOMElement which contains the EntityDescriptor element or the EntitiesDescriptor element. |
return | SimpleSAML_Metadata_SAMLParser[] | An associative array of SAMLParser instances. The key of the array will be the entity id. |