Property | Type | Description | |
---|---|---|---|
$commands | array | List of commands | |
$params | array | Command-line params | |
$pid | integer | Master process ID |
Method | Description | |
---|---|---|
getArgs ( array $args ) : array | Parses command-line arguments. | |
init ( $configFile = null ) : void | Actions on early startup. | |
runworker ( ) : void | Runworker. | |
start ( ) : void | Start master. | |
stop ( integer $mode = 1 ) : void | Stop script. |
Method | Description | |
---|---|---|
printHelp ( ) : void | Print help | |
printUsage ( ) : void | Print ussage |
protected static printUsage ( ) : void | ||
return | void |
protected static array $commands | ||
return | array |
protected static array $params | ||
return | array |