PHP Class Andre\SurvivalGames\CallbackTask

If you want to do a task in a Plugin, consider extending PluginTask to your needs
Inheritance: extends Task
Datei anzeigen Open project: xZeroMCPE/SurvivalGames

Protected Properties

Property Type Description
$args array
$callable callable

Public Methods

Method Description
__construct ( callable $callable, array $args = [] )
getCallable ( ) : callable
onRun ( $currentTicks )

Method Details

__construct() public method

public __construct ( callable $callable, array $args = [] )
$callable callable
$args array

getCallable() public method

public getCallable ( ) : callable
return callable

onRun() public method

public onRun ( $currentTicks )

Property Details

$args protected_oe property

protected array $args
return array

$callable protected_oe property

protected callable $callable
return callable