Basho\Riak\Node::execute PHP Метод

execute() публичный Метод

public execute ( Basho\Riak\Command $command, Basho\Riak\Api $api ) : Basho\Riak\Command\Response
$command Basho\Riak\Command
$api Basho\Riak\Api
Результат Basho\Riak\Command\Response
    public function execute(Command $command, Api $api)
    {
        $success = $api->prepare($command, $this)->send();
        if ($success === FALSE) {
            return false;
        }
        return $api->getResponse();
    }