protected function toXML(DOMElement $parent) : DOMElement
    {
        $e = parent::toXML($parent);

        foreach ($this->ArtifactResolutionService as $ep) {
            $ep->toXML($e, 'md:ArtifactResolutionService');
        }

        foreach ($this->SingleLogoutService as $ep) {
            $ep->toXML($e, 'md:SingleLogoutService');
        }

        foreach ($this->ManageNameIDService as $ep) {
            $ep->toXML($e, 'md:ManageNameIDService');
        }

        Utils::addStrings($e, Constants::NS_MD, 'md:NameIDFormat', false, $this->NameIDFormat);

        return $e;
    }
protected function toXML(DOMElement $parent) : DOMElement
    {
        $e = parent::toXML($parent);

        foreach ($this->ArtifactResolutionService as $ep) {
            $ep->toXML($e, 'md:ArtifactResolutionService');
        }

        foreach ($this->SingleLogoutService as $ep) {
            $ep->toXML($e, 'md:SingleLogoutService');
        }

        foreach ($this->ManageNameIDService as $ep) {
            $ep->toXML($e, 'md:ManageNameIDService');
        }

        Utils::addStrings($e, Constants::NS_MD, 'md:NameIDFormat', false, $this->NameIDFormat);

        return $e;
    }
protected function toXML ( DOMElement $ parent ) : DOMElement { $ e = parent :: toXML ( $ parent ) ; foreach ( $ this -> ArtifactResolutionService as $ ep ) { $ ep -> toXML ( $ e , 'md:ArtifactResolutionService' ) ; } foreach ( $ this -> SingleLogoutService as $ ep ) { $ ep -> toXML ( $ e , 'md:SingleLogoutService' ) ; } foreach ( $ this -> ManageNameIDService as $ ep ) { $ ep -> toXML ( $ e , 'md:ManageNameIDService' ) ; } Utils :: addStrings ( $ e , Constants :: NS_MD , 'md:NameIDFormat' , false , $ this -> NameIDFormat ) ; return $ e ; }
Add this SSODescriptorType to an EntityDescriptor.

@param  \DOMElement $parent The EntityDescriptor we should append this SSODescriptorType to.
@return \DOMElement The generated SSODescriptor DOMElement.
Add this SSODescriptorType to an EntityDescriptor .