src/Sherlock/requests/RawRequest.php
public function execute()
    {

        if (!isset($this->params['uri'])) {
                        throw new exceptions\RuntimeException("URI is required for RawRequest");
        }

        if (!isset($this->params['method'])) {
                        throw new exceptions\RuntimeException("Method is required for RawRequest");
        }

        $command = new Command();
        $command->index($this->params['uri'])
            ->action($this->params['method']);

        if (isset($this->params['body'])) {
            $command->data($this->params['body']);
        }


        $this->batch->clearCommands();
        $this->batch->addCommand($command);

        $ret = parent::execute();

        return $ret[0];
    }
public function execute()
    {

        if (!isset($this->params['uri'])) {
                        throw new exceptions\RuntimeException("URI is required for RawRequest");
        }

        if (!isset($this->params['method'])) {
                        throw new exceptions\RuntimeException("Method is required for RawRequest");
        }

        $command = new Command();
        $command->index($this->params['uri'])
            ->action($this->params['method']);

        if (isset($this->params['body'])) {
            $command->data($this->params['body']);
        }


        $this->batch->clearCommands();
        $this->batch->addCommand($command);

        $ret = parent::execute();

        return $ret[0];
    }
Execute the RawRequest

@throws \Sherlock\common\exceptions\RuntimeException
@return \Sherlock\responses\QueryResponse