PHP Class Jobby\BackgroundJob

Afficher le fichier Open project: hellogerard/jobby Class Usage Examples

Protected Properties

Свойство Type Description
$config array
$helper Helper
$job string
$tmpDir string

Méthodes publiques

Méthode Description
__construct ( string $job, array $config, Helper $helper = null )
run ( )

Méthodes protégées

Méthode Description
checkMaxRuntime ( string $lockFile )
getLockFile ( ) : string
getLogfile ( ) : string
log ( string $message )
mail ( string $message )
runFile ( )
runFunction ( )
shouldRun ( ) : boolean

Method Details

__construct() public méthode

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

checkMaxRuntime() protected méthode

protected checkMaxRuntime ( string $lockFile )
$lockFile string

getLockFile() protected méthode

protected getLockFile ( ) : string
Résultat string

getLogfile() protected méthode

protected getLogfile ( ) : string
Résultat string

log() protected méthode

protected log ( string $message )
$message string

mail() protected méthode

protected mail ( string $message )
$message string

run() public méthode

public run ( )

runFile() protected méthode

protected runFile ( )

runFunction() protected méthode

protected runFunction ( )

shouldRun() protected méthode

protected shouldRun ( ) : boolean
Résultat boolean

Property Details

$config protected_oe property

protected array $config
Résultat array

$helper protected_oe property

protected Helper,jobby $helper
Résultat Helper

$job protected_oe property

protected string $job
Résultat string

$tmpDir protected_oe property

protected string $tmpDir
Résultat string