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
Laravoole
Wrapper
ServerInterface
on
Laravoole\Wrapper\ServerInterface::on PHP Method
ServerInterface Interface Documentation
Show file
Open project: acabin/laravoole
on()
public
method
event callback
public
on
(
string
$event
,
callable
$callback
)
$event
string
start receive shutdown WorkerStart close request
$callback
callable
event handler
public function on($event, callable $callback);
ServerInterface
close
getParams
getPid
on
send
start