$worker
$worker :
Worker 命令行服务类
onWorkerStart(\Workerman\Worker $worker) : void
onWorkerStart 事件回调
\Workerman\Worker | $worker |
onMessage(\Workerman\Connection\TcpConnection $connection, mixed $data) : void
onMessage 事件回调
\Workerman\Connection\TcpConnection | $connection | |
mixed | $data |