PHP 클래스 Time\SIG_CRON

Signal based on the UNIX cron definition. Module has been made possible due to Michael Dowling's CronExpression.
상속: extends XPSPL\SIG_Routine
파일 보기 프로젝트 열기: prggmr/xpspl

보호된 프로퍼티들

프로퍼티 타입 설명
$_cron integer Cron-Expression object
$_next_run integer Next runtime of the cron.

공개 메소드들

메소드 설명
__construct ( string $expression ) : void Constructs a new cron signal.
routine ( Routine $routine = null ) : integer Determines when the time signal should fire, otherwise returning the processor to idle until it will.

메소드 상세

__construct() 공개 메소드

Constructs a new cron signal.
public __construct ( string $expression ) : void
$expression string Cron expression
리턴 void

routine() 공개 메소드

Determines when the time signal should fire, otherwise returning the processor to idle until it will.
public routine ( Routine $routine = null ) : integer
$routine XPSPL\Routine
리턴 integer

프로퍼티 상세

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

Cron-Expression object
protected int $_cron
리턴 integer

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

Next runtime of the cron.
protected int $_next_run
리턴 integer