Amfphp_Core_Amf_Deserializer::readAmf3XmlDocument PHP Method

readAmf3XmlDocument() protected method

read amf 3 xml doc
protected readAmf3XmlDocument ( ) : Amfphp_Core_Amf_Types_Xml
return Amfphp_Core_Amf_Types_Xml
    protected function readAmf3XmlDocument()
    {
        $handle = $this->readAmf3Int();
        $inline = ($handle & 1) != 0;
        $handle = $handle >> 1;
        if ($inline) {
            $xml = $this->readBuffer($handle);
            $this->storedObjects[] =& $xml;
        } else {
            $xml = $this->storedObjects[$handle];
        }
        return new Amfphp_Core_Amf_Types_XmlDocument($xml);
    }