\JTwitterObjectMock
Synopsis
class JTwitterObjectMock
extends JTwitterObject
{
- // Inherited members from JTwitterObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JTwitterOAuth $oauth;
- // methods
- public string fetchUrl()
- // Inherited methods from JTwitterObject
- public void __construct()
- public void checkRateLimit()
- public string fetchUrl()
- public array getRateLimit()
- public array sendRequest()
- public mixed getOption()
- public JTwitterObject setOption()
Hierarchy
Extends
Members
protected
- $client — JHttp
- $oauth — JTwitterOAuth
- $options — JRegistry
Methods
public
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
Inherited from JTwitterObject
public
- checkRateLimit() — Method to check the rate limit for the requesting IP address
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
- getOption() — Get an option from the JTwitterObject instance.
- getRateLimit() — Method to retrieve the rate limit for the requesting IP address
- sendRequest() — Method to send the request.
- setOption() — Set an option for the JTwitterObject instance.