PHP Class Kohkimakimoto\Worker\Job\JobManager

Afficher le fichier Open project: kohkimakimoto/workerphp

Protected Properties

Свойство Type Description
$config
$dispatcher
$eventLoop
$jobs
$output
$worker

Méthodes publiques

Méthode Description
__construct ( $worker, $dispatcher, $config, $output, $eventLoop )
boot ( )
executeJob ( $job, $oneTime = false, $passdArguments = [] )
getJob ( $name )
getJobs ( )
register ( $name, $command )

Méthodes protégées

Méthode Description
addJobTimer ( $job )

Method Details

__construct() public méthode

public __construct ( $worker, $dispatcher, $config, $output, $eventLoop )

addJobTimer() protected méthode

protected addJobTimer ( $job )

boot() public méthode

public boot ( )

executeJob() public méthode

public executeJob ( $job, $oneTime = false, $passdArguments = [] )

getJob() public méthode

public getJob ( $name )

getJobs() public méthode

public getJobs ( )

register() public méthode

public register ( $name, $command )

Property Details

$config protected_oe property

protected $config

$dispatcher protected_oe property

protected $dispatcher

$eventLoop protected_oe property

protected $eventLoop

$jobs protected_oe property

protected $jobs

$output protected_oe property

protected $output

$worker protected_oe property

protected $worker