PHP Class Swoole\Console

显示文件 Open project: matyhtf/swoole_framework Class Usage Examples

Public Methods

Method Description
changeUser ( $user ) : boolean 改变进程的用户ID
getOpt ( $cmd )
setProcessName ( $name ) 设置进程的名称

Method Details

changeUser() static public method

改变进程的用户ID
static public changeUser ( $user ) : boolean
$user
return boolean

getOpt() static public method

static public getOpt ( $cmd )

setProcessName() static public method

设置进程的名称
static public setProcessName ( $name )
$name