abstract class AbstractService implements ServiceInterface
AbstractService implements common methods of ServiceInterface
Methods
__construct(string $feedUrl, string $profileUrl = null, Client $client = null)
Constructor |
||
StatusInterface[] |
getStatuses()
Returns a collection of StatusInterface |
|
setStatusClassname(string $statusClassname)
Sets the status classname. |
||
string |
getName()
Returns the service name |
|
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 27
public
__construct(string $feedUrl, string $profileUrl = null, Client $client = null)
Constructor
at line 52
public StatusInterface[]
getStatuses()
Returns a collection of StatusInterface
at line 74
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 82
public string
getName()
Returns the service name
at line 92
public
setClient(Client $client)
Set a client
at line 102
public string
getFeedUrl()
Return the full url to the feed.
at line 110
public string
getProfileUrl()
Return the full url to the profile
at line 118
public
setResponse(Response $response)
Set the response
Usefull for multicurl
at line 126
public Request
prepareRequest()
Prepare the request