PHP Class Basho\Riak\Command\Object\Response

Inheritance: extends Basho\Riak\Command\Response
Mostra file Open project: basho/riak-php-client

Protected Properties

Property Type Description
$location
$objects Basho\Riak\Object[]

Public Methods

Method Description
__construct ( $success = true, $code, $message = '', $location = null, $objects = [] )
getLocation ( ) : Basho\Riak\Location Retrieves the Location value from the response headers
getObject ( ) : Object | null
getSiblings ( ) : array Fetches the sibling tags from the response
hasSiblings ( ) : boolean

Method Details

__construct() public method

public __construct ( $success = true, $code, $message = '', $location = null, $objects = [] )

getLocation() public method

Retrieves the Location value from the response headers
public getLocation ( ) : Basho\Riak\Location
return Basho\Riak\Location

getObject() public method

public getObject ( ) : Object | null
return Basho\Riak\Object | null

getSiblings() public method

Fetches the sibling tags from the response
public getSiblings ( ) : array
return array

hasSiblings() public method

public hasSiblings ( ) : boolean
return boolean

Property Details

$location protected_oe property

protected $location

$objects protected_oe property

protected Object[],Basho\Riak $objects
return Basho\Riak\Object[]