PHP Class Instagram\API\Request\BaseRequest

Inheritance: extends Instagram\API\Framework\Request
Afficher le fichier Open project: liamcottle/instagram-sdk-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$instagram Instagram\Instagram

Méthodes publiques

Méthode 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 ( )

Method Details

__construct() public méthode

public __construct ( $instagram )
$instagram Instagram The Instagram instance to make the Request with.

execute() public méthode

Execute the Request
public execute ( ) : object
Résultat object Response Data

getCachedResponse() public méthode

public getCachedResponse ( )

getEndpoint() abstract public méthode

abstract public getEndpoint ( ) : string
Résultat string The API Endpoint

getResponseObject() abstract public méthode

abstract public getResponseObject ( ) : object
Résultat object The class instance to map the JSON to.

getUrl() public méthode

public getUrl ( )

interceptResponse() public méthode

This method will be called before checking the Response is OK.
public interceptResponse ( $response ) : boolean
$response Response
Résultat boolean If the Response was intercepted, and should stop being processed.

parseResponse() public méthode

public parseResponse ( )

setInstagram() public méthode

public setInstagram ( $instagram )
$instagram Instagram Instagram Instance to use for this Request

setSignedBody() public méthode

public setSignedBody ( $params )
$params array Parameters to add to Signed Body

throwExceptionIfResponseNotOk() public méthode

Property Details

$instagram public_oe property

public Instagram,Instagram $instagram
Résultat Instagram\Instagram