public function build()
    {
        foreach ($this->child as $element) {
            $element->build();
            $this->node->appendChild($element->getNode());
        }

        return $this;
    }
public function build()
    {
        foreach ($this->child as $element) {
            $element->build();
            $this->node->appendChild($element->getNode());
        }

        return $this;
    }
public function build ( ) { foreach ( $ this -> child as $ element ) { $ element -> build ( ) ; $ this -> node -> appendChild ( $ element -> getNode ( ) ) ; } return $ this ; }
Building a request for sending.

@return self
Building a request for sending .