JTwitterObjectMock::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.
Signature
public function fetchUrl(string
$path,
[integer
$page = 0,
[integer
$limit = 0]] )
Parameters
-
$path
- URL to inflect
-
$page
- Page to request
-
$limit
- Number of results to return per page
Returns
- string
- The request URL.