SimpleSAML_Metadata_SAMLParser::parseElement PHP Method

parseElement() public static method

This function parses a \SAML2\XML\md\EntityDescriptor object which represents a EntityDescriptor element.
public static parseElement ( SAML2\XML\md\EntityDescriptor $entityElement ) : SimpleSAML_Metadata_SAMLParser
$entityElement SAML2\XML\md\EntityDescriptor A \SAML2\XML\md\EntityDescriptor object which represents a EntityDescriptor element.
return SimpleSAML_Metadata_SAMLParser An instance of this class with the metadata loaded.
    public static function parseElement($entityElement)
    {
        assert('$entityElement instanceof \\SAML2\\XML\\md\\EntityDescriptor');
        return new SimpleSAML_Metadata_SAMLParser($entityElement, null);
    }