PHP 클래스 Andre\SurvivalGames\CallbackTask

If you want to do a task in a Plugin, consider extending PluginTask to your needs
상속: extends Task
파일 보기 프로젝트 열기: xZeroMCPE/SurvivalGames

보호된 프로퍼티들

프로퍼티 타입 설명
$args array
$callable callable

공개 메소드들

메소드 설명
__construct ( callable $callable, array $args = [] )
getCallable ( ) : callable
onRun ( $currentTicks )

메소드 상세

__construct() 공개 메소드

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

getCallable() 공개 메소드

public getCallable ( ) : callable
리턴 callable

onRun() 공개 메소드

public onRun ( $currentTicks )

프로퍼티 상세

$args 보호되어 있는 프로퍼티

protected array $args
리턴 array

$callable 보호되어 있는 프로퍼티

protected callable $callable
리턴 callable