This function parses a string with XML data. The root node of the XML data is expected to be either an
EntityDescriptor element or an EntitiesDescriptor element. It will return an associative array of
SAMLParser instances.
public static parseDescriptorsString ( string $string ) : SimpleSAML_Metadata_SAMLParser[] | ||
$string | string | The string with XML data. |
return | SimpleSAML_Metadata_SAMLParser[] | An associative array of SAMLParser instances. The key of the array will be the entity id. |