Final(?) version
This commit is contained in:
committed by
Polonkai Gergely
parent
30f450df66
commit
31c6abc039
29
smsToken.php
Normal file
29
smsToken.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
class smsToken
|
||||
{
|
||||
protected $userId;
|
||||
protected $userName;
|
||||
protected $sessionId;
|
||||
protected $ip;
|
||||
protected $token;
|
||||
|
||||
public function __construct($userId, $userName, $sessionId, $ip, $token)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->userName = $userName;
|
||||
$this->sessionId = $sessionId;
|
||||
$this->ip = $ip;
|
||||
$this->token = $token;
|
||||
}
|
||||
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
public function getUserName()
|
||||
{
|
||||
return $this->userName;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user