interface ServiceInterface
ServiceInterface will be in charges to fetch remotes (over http) datas, and convert each status to a StatusInterface object.
Methods
StatusInterface[] |
getStatuses()
Returns a collection of StatusInterface |
|
string |
getName()
Returns the service name |
|
setStatusClassname(string $statusClassname)
Sets the status classname. |
||
setClient(Client $client)
Set a client |
||
string |
getFeedUrl()
Return the full url to the feed. |
|
string |
getProfileUrl()
Return the full url to the profile |
|
setResponse(Response $response)
Set the response |
||
Request |
prepareRequest()
Prepare the request |
Details
at line 21
public StatusInterface[]
getStatuses()
Returns a collection of StatusInterface
at line 28
public string
getName()
Returns the service name
at line 38
public
setStatusClassname(string $statusClassname)
Sets the status classname.
Must implement StatusInterface.
I will be used to create a new StatusInterface with fetched datas
at line 45
public
setClient(Client $client)
Set a client
at line 52
public string
getFeedUrl()
Return the full url to the feed.
at line 59
public string
getProfileUrl()
Return the full url to the profile
at line 68
public
setResponse(Response $response)
Set the response
Usefull for multicurl
at line 75
public Request
prepareRequest()
Prepare the request