This function parses a file where the root node is either an EntityDescriptor element or an
EntitiesDescriptor element. In both cases it will return an associative array of SAMLParser instances. If
the file contains a single EntityDescriptorElement, then the array will contain a single SAMLParser
instance.
public static parseDescriptorsFile ( string $file ) : SimpleSAML_Metadata_SAMLParser[] | ||
$file | string | The path to the file which contains the EntityDescriptor or EntitiesDescriptor element. |
return | SimpleSAML_Metadata_SAMLParser[] | An array of SAMLParser instances. |