PHP Interface pocketmine\permission\ServerOperator

Show file Open project: ClearSkyTeam/ClearSky Interface Usage Examples

Public Methods

Method Description
isOp ( ) : boolean Checks if the current object has operator permissions
setOp ( boolean $value ) : void Sets the operator permission for the current object

Method Details

isOp() public method

Checks if the current object has operator permissions
public isOp ( ) : boolean
return boolean

setOp() public method

Sets the operator permission for the current object
public setOp ( boolean $value ) : void
$value boolean
return void