src/Genesis/API/Request.php
public function getDocument()
    {
        $this->processRequestParameters();

        if ($this->treeStructure instanceof \ArrayObject) {
            $this->builderContext = new \Genesis\Builder();
            $this->builderContext->parseStructure($this->treeStructure->getArrayCopy());

            return $this->builderContext->getDocument();
        }

        return null;
    }
public function getDocument()
    {
        $this->processRequestParameters();

        if ($this->treeStructure instanceof \ArrayObject) {
            $this->builderContext = new \Genesis\Builder();
            $this->builderContext->parseStructure($this->treeStructure->getArrayCopy());

            return $this->builderContext->getDocument();
        }

        return null;
    }
public function getDocument ( ) { $ this -> processRequestParameters ( ) ; if ( $ this -> treeStructure instanceof \ ArrayObject ) { $ this -> builderContext = new \ Genesis \ Builder ( ) ; $ this -> builderContext -> parseStructure ( $ this -> treeStructure -> getArrayCopy ( ) ) ; return $ this -> builderContext -> getDocument ( ) ; } return null ; }
Generate the XML output

@return string - XML Document with request data
Generate the XML output