Official Riak Client for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • Basho
    • Riak
      • Api
        • Http
          • Translator
      • Command
        • Bucket
        • Builder
          • MapReduce
          • Search
          • TimeSeries
        • DataType
          • Counter
          • Map
          • Set
        • Indexes
        • MapReduce
        • Object
        • Search
          • Index
          • Schema
        • Stats
        • TimeSeries
          • Query
      • DataType
      • Node
        • Builder
      • Search
      • TimeSeries

Classes

  • Delete
  • Fetch
  • FetchPreflist
  • Response
  • Store

Class Response

Container for a response related to an operation on an object

Basho\Riak\Command\Response
Extended by Basho\Riak\Command\Object\Response
Namespace: Basho\Riak\Command\Object
Author: Christopher Mancini
Located at Riak/Command/Object/Response.php

Methods summary

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

Overrides

Basho\Riak\Command\Response::__construct
public boolean
# hasSiblings( )

Returns

boolean
public Basho\Riak\Location
# getLocation( )

Retrieves the Location value from the response headers

Retrieves the Location value from the response headers

Returns

Basho\Riak\Location

Throws

Basho\Riak\Command\Exception
public Basho\Riak\Object|null
# getObject( )

Returns

Basho\Riak\Object|null
public array
# getSiblings( )

Fetches the sibling tags from the response

Fetches the sibling tags from the response

Returns

array

Methods inherited from Basho\Riak\Command\Response

getCode(), getMessage(), isNotFound(), isSuccess(), isUnauthorized()

Properties summary

protected Basho\Riak\Object[] $objects
# []
protected $location
# null

Properties inherited from Basho\Riak\Command\Response

$code, $message, $success

Official Riak Client for PHP API documentation generated by ApiGen