PHP 클래스 Jobby\BackgroundJob

파일 보기 프로젝트 열기: hellogerard/jobby 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array
$helper Helper
$job string
$tmpDir string

공개 메소드들

메소드 설명
__construct ( string $job, array $config, Helper $helper = null )
run ( )

보호된 메소드들

메소드 설명
checkMaxRuntime ( string $lockFile )
getLockFile ( ) : string
getLogfile ( ) : string
log ( string $message )
mail ( string $message )
runFile ( )
runFunction ( )
shouldRun ( ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( string $job, array $config, Helper $helper = null )
$job string
$config array
$helper Helper

checkMaxRuntime() 보호된 메소드

protected checkMaxRuntime ( string $lockFile )
$lockFile string

getLockFile() 보호된 메소드

protected getLockFile ( ) : string
리턴 string

getLogfile() 보호된 메소드

protected getLogfile ( ) : string
리턴 string

log() 보호된 메소드

protected log ( string $message )
$message string

mail() 보호된 메소드

protected mail ( string $message )
$message string

run() 공개 메소드

public run ( )

runFile() 보호된 메소드

protected runFile ( )

runFunction() 보호된 메소드

protected runFunction ( )

shouldRun() 보호된 메소드

protected shouldRun ( ) : boolean
리턴 boolean

프로퍼티 상세

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

protected array $config
리턴 array

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

protected Helper,jobby $helper
리턴 Helper

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

protected string $job
리턴 string

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

protected string $tmpDir
리턴 string