PocketMine
PluginTask Class Reference
Inheritance diagram for PluginTask:
Task

Public Member Functions

 __construct (Plugin $owner)
 
 getOwner ()
 
- Public Member Functions inherited from Task
 getHandler ()
 
 getTaskId ()
 
 setHandler ($taskHandler)
 
 onRun ($currentTick)
 
 onCancel ()
 

Protected Attributes

 $owner
 

Detailed Description

Base class for plugin tasks. Allows the Server to delete them easily when needed

Constructor & Destructor Documentation

__construct ( Plugin  $owner)
Parameters
Plugin$owner

Member Function Documentation

getOwner ( )
final
Returns
Plugin

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