Property | Type | Description | |
---|---|---|---|
Method | Description | |
---|---|---|
__construct ( $instagram ) | ||
execute ( ) : object | Execute the Request | |
getCachedResponse ( ) | ||
getEndpoint ( ) : string | ||
getResponseObject ( ) : object | ||
getUrl ( ) | ||
interceptResponse ( $response ) : boolean | This method will be called before checking the Response is OK. | |
parseResponse ( ) | ||
setInstagram ( $instagram ) | ||
setSignedBody ( $params ) | ||
throwExceptionIfResponseNotOk ( ) |
public __construct ( $instagram ) | ||
Instagram The Instagram instance to make the Request with. |
abstract public getEndpoint ( ) : string | ||
return | string | The API Endpoint |
abstract public getResponseObject ( ) : object | ||
return | object | The class instance to map the JSON to. |
public interceptResponse ( $response ) : boolean | ||
$response | Response | |
return | boolean | If the Response was intercepted, and should stop being processed. |
public setInstagram ( $instagram ) | ||
Instagram Instagram Instance to use for this Request |
public setSignedBody ( $params ) | ||
$params | array Parameters to add to Signed Body |