Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Swoole
Console
PHP Class Swoole\Console
Show file
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