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

  • Fetch
  • Response
  • Store

Class Response

Container for a response related to an operation on an object

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

Methods summary

public
# __construct( $success = true, $code = 0, $message = '', $location = null, $counter = null, $date = '' )

Overrides

Basho\Riak\Command\Response::__construct
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\DataType\Counter|null
# getCounter( )

Returns

Basho\Riak\DataType\Counter|null
public string
# getDate( )

Retrieves the date of the counter's retrieval

Retrieves the date of the counter's retrieval

Returns

string

Throws

Basho\Riak\Command\Exception

Methods inherited from Basho\Riak\Command\Response

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

Properties summary

protected Basho\Riak\DataType\Counter|null $counter
# null
protected Basho\Riak\Location $location
# null
protected string $date
# ''

Properties inherited from Basho\Riak\Command\Response

$code, $message, $success

Official Riak Client for PHP API documentation generated by ApiGen