Свойство | Тип | Описание | |
---|---|---|---|
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string | The API Endpoint |
abstract public getResponseObject ( ) : object | ||
Результат | object | The class instance to map the JSON to. |
public interceptResponse ( $response ) : boolean | ||
$response | Response | |
Результат | 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 |