PHP Class Kohkimakimoto\Worker\Worker

Inheritance: extends Pimple\Container
Datei anzeigen Open project: kohkimakimoto/workerphp

Protected Properties

Property Type Description
$finished
$masterPid
$providers

Public Methods

Method Description
__call ( $method, $parameters )
__construct ( array $config = [] ) Constructor.
__get ( $key )
__set ( $key, $value )
job ( $name, $command )
load ( $provider )
shutdown ( ) : void Shoutdown process.
signalHandler ( integer $signo ) : void Signal handler
start ( ) : void Starts running worker.

Protected Methods

Method Description
registerDefaultProviders ( )

Method Details

__call() public method

public __call ( $method, $parameters )

__construct() public method

Constructor.
public __construct ( array $config = [] )
$config array configuration parameters.

__get() public method

public __get ( $key )

__set() public method

public __set ( $key, $value )

job() public method

public job ( $name, $command )

load() public method

public load ( $provider )

registerDefaultProviders() protected method

protected registerDefaultProviders ( )

shutdown() public method

Shoutdown process.
public shutdown ( ) : void
return void

signalHandler() public method

Signal handler
public signalHandler ( integer $signo ) : void
$signo integer
return void

start() public method

Starts running worker.
public start ( ) : void
return void

Property Details

$finished protected_oe property

protected $finished

$masterPid protected_oe property

protected $masterPid

$providers protected_oe property

protected $providers