GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
PermissionAttachmentInfo Class Reference

Public Member Functions

 __construct (Permissible $permissible, $permission, $attachment, $value)
 
 getPermissible ()
 
 getPermission ()
 
 getAttachment ()
 
 getValue ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Permissible  $permissible,
  $permission,
  $attachment,
  $value 
)
Parameters
Permissible$permissible
string$permission
PermissionAttachment$attachment
bool$value
Exceptions
46  {
47  if($permission === null){
48  throw new \InvalidStateException("Permission may not be null");
49  }
50 
51  $this->permissible = $permissible;
52  $this->permission = $permission;
53  $this->attachment = $attachment;
54  $this->value = $value;
55  }

Member Function Documentation

◆ getAttachment()

getAttachment ( )
Returns
PermissionAttachment
74  {
75  return $this->attachment;
76  }

◆ getPermissible()

getPermissible ( )
Returns
Permissible
60  {
61  return $this->permissible;
62  }

◆ getPermission()

getPermission ( )
Returns
string
67  {
68  return $this->permission;
69  }

◆ getValue()

getValue ( )
Returns
bool
81  {
82  return $this->value;
83  }

The documentation for this class was generated from the following file: