mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Minor Adjustments.
This commit is contained in:
parent
d3e8cba132
commit
698feccd54
1 changed files with 14 additions and 0 deletions
|
|
@ -91,7 +91,21 @@ class PermissionsAPI
|
|||
*/
|
||||
abstract class Permission
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
private $permissionLevel;
|
||||
|
||||
/**
|
||||
* @param integer $permissionLevel Integer form of Permission Level. Lower has more permissions.
|
||||
*/
|
||||
public function __construct($permissionLevel)
|
||||
{
|
||||
$this->permissionLevel = $permissionLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public abstract function getPermissionLevel();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue