ResponseInstagram extends ResponseFacebook
Table of Contents
Constants
- TYPE_CODE = 'instagram'
Methods
- __construct() : mixed
- create() : static
- fetch() : mixed
- getId() : mixed
- getRequest() : mixed
- getResponseText() : mixed
- parse() : void
- Parse response.
- prepareRequestParams() : array<string|int, mixed>|null
- Prepare params to next request
- setData() : mixed
- setId() : mixed
- setRequest() : mixed
- setResponseText() : mixed
Constants
TYPE_CODE
public
mixed
TYPE_CODE
= 'instagram'
Methods
__construct()
public
__construct() : mixed
create()
public
static create(mixed $type) : static
Parameters
- $type : mixed
Return values
staticfetch()
public
fetch() : mixed
getId()
public
getId() : mixed
getRequest()
public
getRequest() : mixed
getResponseText()
public
getResponseText() : mixed
parse()
Parse response.
public
parse(array<string|int, mixed>|string $data) : void
Parameters
- $data : array<string|int, mixed>|string
-
Data.
Tags
prepareRequestParams()
Prepare params to next request
public
prepareRequestParams(array<string|int, mixed> $params) : array<string|int, mixed>|null
Parameters
- $params : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>|nullsetData()
public
setData(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
setId()
public
setId(mixed $id) : mixed
Parameters
- $id : mixed
setRequest()
public
setRequest(Request $request) : mixed
Parameters
- $request : Request
setResponseText()
public
setResponseText(mixed $responseText) : mixed
Parameters
- $responseText : mixed