Minor Adjustments.

This commit is contained in:
Michael Yoo 2013-11-25 18:04:47 +10:30
parent d3e8cba132
commit 698feccd54

View File

@ -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();
}