2019-09-06 05:02:57 +05:30
|
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2024-12-06 06:04:09 +05:30
|
|
|
namespace common\components\OAuth2\Entities;
|
2019-09-06 05:02:57 +05:30
|
|
|
|
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
use League\OAuth2\Server\Entities\UserEntityInterface;
|
|
|
|
|
2024-12-06 06:04:09 +05:30
|
|
|
final class UserEntity implements UserEntityInterface {
|
2019-09-06 05:02:57 +05:30
|
|
|
use EntityTrait;
|
|
|
|
|
2019-09-22 02:47:21 +05:30
|
|
|
public function __construct(int $id) {
|
2024-12-02 15:40:55 +05:30
|
|
|
$this->identifier = (string)$id;
|
2019-09-06 05:02:57 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
}
|