mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-07 11:09:50 +00:00
25 lines
344 B
PHP
25 lines
344 B
PHP
<?php
|
|
|
|
class UserIdentity extends CUserIdentity
|
|
{
|
|
private $_id;
|
|
private $_fullname;
|
|
|
|
public function __construct($user)
|
|
{
|
|
$this->_id = $user->id;
|
|
$this->_fullname = $user->name;
|
|
$this->username = $user->logon;
|
|
}
|
|
|
|
public function getId()
|
|
{
|
|
return $this->_id;
|
|
}
|
|
|
|
public function getFullname()
|
|
{
|
|
return $this->_fullname;
|
|
}
|
|
}
|
|
|