ParticipantService & SurveyService - allow to get a client from these services (add getters)

This commit is contained in:
Meritoo
2017-09-28 21:34:31 +02:00
parent f8a675d0fb
commit 0562cb4d21
4 changed files with 56 additions and 0 deletions

View File

@@ -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
*

View File

@@ -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
*