$command = (new Command\Builder\FetchObject($riak))
->buildLocation($user_id, 'users', 'default')
->build();
$response = $command->execute();
$user = $response->getObject();
Mostrar archivo
Open project: basho/riak-php-client
Class Usage Examples
Property | Type | Description | |
---|---|---|---|
$decodeAsAssociative | boolean |
Method | Description | |
---|---|---|
__construct ( |
||
build ( ) : Basho\Riak\Command\Object\Fetch; | ||
getDecodeAsAssociative ( ) : boolean | Fetch the setting for decodeAsAssociative. | |
validate ( ) | ||
withDecodeAsAssociative ( ) | Tells the client to decode the data as an associative array instead of a PHP stdClass object. |
public build ( ) : Basho\Riak\Command\Object\Fetch; | ||
return | Basho\Riak\Command\Object\Fetch; |
public getDecodeAsAssociative ( ) : boolean | ||
return | boolean |
public withDecodeAsAssociative ( ) |