src/Riak/Node.php
public function execute(Command $command, Api $api)
    {
        $success = $api->prepare($command, $this)->send();
        if ($success === FALSE) {
            return false;
        }

        return $api->getResponse();
    }
public function execute(Command $command, Api $api)
    {
        $success = $api->prepare($command, $this)->send();
        if ($success === FALSE) {
            return false;
        }

        return $api->getResponse();
    }
@param Command $command
@param Api $api

@return Command\Response
@throws Exception