public function compile()
    {
        $requestHandler = $this->getRequestHandler();

        $encodedData = $this->encodeData($this->getParams());
        $requestHandler->setRawBody($encodedData);

        $response = $requestHandler->send();
        $xml = new \SimpleXMLElement($response->getBody());
        $data = $this->parseXml($xml);

        return $this->buildResponse($data);
    }
public function compile()
    {
        $requestHandler = $this->getRequestHandler();

        $encodedData = $this->encodeData($this->getParams());
        $requestHandler->setRawBody($encodedData);

        $response = $requestHandler->send();
        $xml = new \SimpleXMLElement($response->getBody());
        $data = $this->parseXml($xml);

        return $this->buildResponse($data);
    }
public function compile ( ) { $ requestHandler = $ this -> getRequestHandler ( ) ; $ encodedData = $ this -> encodeData ( $ this -> getParams ( ) ) ; $ requestHandler -> setRawBody ( $ encodedData ) ; $ response = $ requestHandler -> send ( ) ; $ xml = new \ SimpleXMLElement ( $ response -> getBody ( ) ) ; $ data = $ this -> parseXml ( $ xml ) ; return $ this -> buildResponse ( $ data ) ; }
Compile Javascript code

@return CompilerResponse
Compile Javascript code