mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 18:11:50 +01:00
[UW-2256] moves token property to BaseParticipant
This commit is contained in:
@@ -39,6 +39,13 @@ abstract class BaseParticipant extends BaseItem
|
||||
*/
|
||||
protected $email;
|
||||
|
||||
/**
|
||||
* Token of the participant
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $token;
|
||||
|
||||
/**
|
||||
* Returns ID of the participant
|
||||
*
|
||||
@@ -78,4 +85,14 @@ abstract class BaseParticipant extends BaseItem
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns token of the participant
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user