PHP Class Kohkimakimoto\Worker\Job\JobManager

Datei anzeigen Open project: kohkimakimoto/workerphp

Protected Properties

Property Type Description
$config
$dispatcher
$eventLoop
$jobs
$output
$worker

Public Methods

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

Protected Methods

Method Description
addJobTimer ( $job )

Method Details

__construct() public method

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

addJobTimer() protected method

protected addJobTimer ( $job )

boot() public method

public boot ( )

executeJob() public method

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

getJob() public method

public getJob ( $name )

getJobs() public method

public getJobs ( )

register() public method

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