Basho\Riak::getLastRequest PHP Method

getLastRequest() public method

Accessor for the last request issued to the API. For debugging purposes.
public getLastRequest ( ) : string
return string
    public function getLastRequest()
    {
        return $this->api->getRequest();
    }

Usage Example

Example #1
0
 /**
  * Gets the request that was issued to the API by this Command.
  *
  * @return string
  */
 public function getRequest()
 {
     return $this->riak->getLastRequest();
 }