mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
ParticipantService & SurveyService - allow to get a client from these services (add getters)
This commit is contained in:
@@ -53,6 +53,16 @@ class ParticipantService
|
||||
$this->allParticipants = $allParticipants;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns client of the LimeSurvey's API
|
||||
*
|
||||
* @return Client
|
||||
*/
|
||||
public function getClient()
|
||||
{
|
||||
return $this->client;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns participants of given survey
|
||||
*
|
||||
|
||||
@@ -51,6 +51,16 @@ class SurveyService
|
||||
$this->allSurveys = $allSurveys;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns client of the LimeSurvey's API
|
||||
*
|
||||
* @return Client
|
||||
*/
|
||||
public function getClient()
|
||||
{
|
||||
return $this->client;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all surveys
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user