PHP Class Abraham\TwitterOAuth\Response

Author: Abraham Williams ([email protected])
Show file Open project: abraham/twitteroauth

Public Methods

Method Description
getApiPath ( ) : string | null
getBody ( ) : array | object | string
getHttpCode ( ) : integer
getXHeaders ( ) : array
getsHeaders ( ) : array
setApiPath ( string $apiPath )
setBody ( array | object $body )
setHeaders ( array $headers )
setHttpCode ( integer $httpCode )
setXHeaders ( array $xHeaders = [] )

Method Details

getApiPath() public method

public getApiPath ( ) : string | null
return string | null

getBody() public method

public getBody ( ) : array | object | string
return array | object | string

getHttpCode() public method

public getHttpCode ( ) : integer
return integer

getXHeaders() public method

public getXHeaders ( ) : array
return array

getsHeaders() public method

public getsHeaders ( ) : array
return array

setApiPath() public method

public setApiPath ( string $apiPath )
$apiPath string

setBody() public method

public setBody ( array | object $body )
$body array | object

setHeaders() public method

public setHeaders ( array $headers )
$headers array

setHttpCode() public method

public setHttpCode ( integer $httpCode )
$httpCode integer

setXHeaders() public method

public setXHeaders ( array $xHeaders = [] )
$xHeaders array