13 lines
		
	
	
		
			247 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			247 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php namespace MapGuesser\Interfaces\Authentication;
 | 
						|
 | 
						|
interface IUser
 | 
						|
{
 | 
						|
    const PERMISSION_NORMAL = 0;
 | 
						|
 | 
						|
    const PERMISSION_ADMIN = 1;
 | 
						|
 | 
						|
    public function hasPermission(int $permission): bool;
 | 
						|
 | 
						|
    public function getDisplayName(): string;
 | 
						|
}
 |