Abraham\TwitterOAuth\TwitterOAuth::getLastApiPath PHP Method

getLastApiPath() public method

public getLastApiPath ( ) : string | null
return string | null
    public function getLastApiPath()
    {
        return $this->response->getApiPath();
    }

Usage Example

 /**
  * @depends testLastResult
  */
 public function testResetLastResponse()
 {
     $this->twitter->resetLastResponse();
     $this->assertEquals('', $this->twitter->getLastApiPath());
     $this->assertEquals(0, $this->twitter->getLastHttpCode());
     $this->assertEquals(array(), $this->twitter->getLastBody());
 }