PHP Class Andre\SurvivalGames\CallbackTask

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

Protected Properties

Свойство Type Description
$args array
$callable callable

Méthodes publiques

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

Method Details

__construct() public méthode

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

getCallable() public méthode

public getCallable ( ) : callable
Résultat callable

onRun() public méthode

public onRun ( $currentTicks )

Property Details

$args protected_oe property

protected array $args
Résultat array

$callable protected_oe property

protected callable $callable
Résultat callable