PHP 클래스 Jobby\Jobby

상속: use trait SerializerTrait
파일 보기 프로젝트 열기: hellogerard/jobby 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array
$helper Helper
$jobs array
$script string

공개 메소드들

메소드 설명
__construct ( array $config = [] )
add ( string $job, array $config ) Add a job.
getConfig ( ) : array
getDefaultConfig ( ) : array
run ( ) Run all jobs.
setConfig ( array $config )

보호된 메소드들

메소드 설명
getExecutableCommand ( string $job, array $config ) : string
getHelper ( ) : Helper
getPhpBinary ( ) : false | string
runUnix ( string $job, array $config )
runWindows ( string $job, array $config )

메소드 상세

__construct() 공개 메소드

public __construct ( array $config = [] )
$config array

add() 공개 메소드

Add a job.
public add ( string $job, array $config )
$job string
$config array

getConfig() 공개 메소드

public getConfig ( ) : array
리턴 array

getDefaultConfig() 공개 메소드

public getDefaultConfig ( ) : array
리턴 array

getExecutableCommand() 보호된 메소드

protected getExecutableCommand ( string $job, array $config ) : string
$job string
$config array
리턴 string

getHelper() 보호된 메소드

protected getHelper ( ) : Helper
리턴 Helper

getPhpBinary() 보호된 메소드

protected getPhpBinary ( ) : false | string
리턴 false | string

run() 공개 메소드

Run all jobs.
public run ( )

runUnix() 보호된 메소드

protected runUnix ( string $job, array $config )
$job string
$config array

runWindows() 보호된 메소드

protected runWindows ( string $job, array $config )
$job string
$config array

setConfig() 공개 메소드

public setConfig ( array $config )
$config array

프로퍼티 상세

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

protected array $config
리턴 array

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

protected Helper,jobby $helper
리턴 Helper

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

protected array $jobs
리턴 array

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

protected string $script
리턴 string