expTwitter
extends Twitter
in package
Tags
Table of Contents
- __construct() : mixed
- Default constructor
- doCall() : string
- Make the call
Methods
__construct()
Default constructor
public
__construct([string $consumerKey = '' ][, string $consumerSecret = '' ]) : mixed
Parameters
- $consumerKey : string = ''
-
The consumer key to use.
- $consumerSecret : string = ''
-
The consumer secret to use.
Return values
mixed —doCall()
Make the call
protected
doCall(string $url[, array<string|int, mixed> $parameters = null ][, bool $authenticate = false ][, string $method = 'GET' ][, null $filePath = null ][, bool $expectJSON = true ][, bool $returnHeaders = false ]) : string
Parameters
- $url : string
-
The url to call.
- $parameters : array<string|int, mixed> = null
- $authenticate : bool = false
- $method : string = 'GET'
- $filePath : null = null
- $expectJSON : bool = true
- $returnHeaders : bool = false