public function toXML(DOMElement $parent) : DOMElement
    {
        Assert::same($this->getElement()->namespaceURI, Constants::NS_SAML);
        Assert::same($this->getElement()->localName, "AttributeValue");

        return Utils::copyElement($this->element, $parent);
    }
public function toXML(DOMElement $parent) : DOMElement
    {
        Assert::same($this->getElement()->namespaceURI, Constants::NS_SAML);
        Assert::same($this->getElement()->localName, "AttributeValue");

        return Utils::copyElement($this->element, $parent);
    }
public function toXML ( DOMElement $ parent ) : DOMElement { Assert :: same ( $ this -> getElement ( ) -> namespaceURI , Constants :: NS_SAML ) ; Assert :: same ( $ this -> getElement ( ) -> localName , "AttributeValue" ) ; return Utils :: copyElement ( $ this -> element , $ parent ) ; }
Append this attribute value to an element.

@param  \DOMElement $parent The element we should append this attribute value to.
@return \DOMElement The generated AttributeValue element.
Append this attribute value to an element .