SAML2\XML\Chunk::__construct PHP Method

__construct() public method

Create a XMLChunk from a copy of the given \DOMElement.
public __construct ( DOMElement $xml )
$xml DOMElement The element we should copy.
    public function __construct(\DOMElement $xml)
    {
        $this->localName = $xml->localName;
        $this->namespaceURI = $xml->namespaceURI;
        $this->xml = Utils::copyElement($xml);
    }