GetFriendsQuery
class GetFriendsQuery extends AbstractQuery
Builds URL for GetFriends REST-API calls.
Also holds the response after being executed.
Returns a list of users which either the requested user has in his friend list, or all users, which have the requested user in his friend list.
TODO: No method in RESTClient.php is using this query.
Methods
__construct(string $userName, string $relation = NULL, int $start = NULL, int $end = NULL)
The query constructor builds the url and saves it into the url property.
$this
execute(Client $httpClient)
Execute a prepared query.
string
bibliography(string $bibliographyStyleName, string $lang = 'en-US', string $bibliographyStyle = '')
No description
from AbstractQuery
Details
at line 60
__construct(string $userName, string $relation = NULL, int $start = NULL, int $end = NULL)
The query constructor builds the url and saves it into the url property.
GET /users/[username]/friends ?relation=(incomingǀoutgoing)
at line 90
$this
execute(Client $httpClient)
Execute a prepared query.