Phpcraft
Public Member Functions | Public Attributes | List of all members
Phpcraft\Permission\Group Class Reference

Public Member Functions

 __construct (Server &$server, array $data)
 
 hasPermission (string $permission)
 
 getPermissions ()
 

Public Attributes

 $data
 

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Permission\Group::__construct ( Server $server,
array  $data 
)

Member Function Documentation

◆ getPermissions()

Phpcraft\Permission\Group::getPermissions ( )
Returns
array<string>

◆ hasPermission()

Phpcraft\Permission\Group::hasPermission ( string  $permission)
Parameters
string$permission
Returns
bool

Member Data Documentation

◆ $data

array Phpcraft\Permission\Group::$data