$command = (new Command\Builder\FetchObject($riak))
->buildLocation($user_id, 'users', 'default')
->build();
$response = $command->execute();
$user = $response->getObject();
파일 보기
프로젝트 열기: basho/riak-php-client
1 사용 예제들
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$decodeAsAssociative | boolean |
메소드 | 설명 | |
---|---|---|
__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; | ||
리턴 | Basho\Riak\Command\Object\Fetch; |
public getDecodeAsAssociative ( ) : boolean | ||
리턴 | boolean |
public withDecodeAsAssociative ( ) |