mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			342 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			342 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
declare(strict_types=1);
 | 
						|
 | 
						|
namespace api\components\OAuth2\Entities;
 | 
						|
 | 
						|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
 | 
						|
use League\OAuth2\Server\Entities\UserEntityInterface;
 | 
						|
 | 
						|
class UserEntity implements UserEntityInterface {
 | 
						|
    use EntityTrait;
 | 
						|
 | 
						|
    public function __construct(int $id) {
 | 
						|
        $this->identifier = $id;
 | 
						|
    }
 | 
						|
 | 
						|
}
 |