\Imi\ProcessAutoRunProcessManager

进程管理器,管理跟随服务自动启动的进程

本类的操作仅在 manager 进程中有效

Summary

Methods
Properties
Constants
add()
remove()
exists()
getProcesses()
No public properties found
No constants found
No protected methods found
$processes
N/A
No private methods found
No private properties found
N/A

Properties

$processes

$processes : array

进程列表

Type

array

Methods

add()

add(string  $name, string  $process, array  $args = array()) : void

添加进程

Parameters

string $name
string $process
array $args

remove()

remove(string  $name) : void

移除进程

Parameters

string $name

exists()

exists(string  $name) : boolean

进程是否存在

Parameters

string $name

Returns

boolean

getProcesses()

getProcesses() : array

Get 进程列表

Returns

array