Swoole\Client::on

(PECL swoole >= 1.9.0)

Swoole\Client::onAdd callback functions triggered by events.

说明

public Swoole\Client::on ( string $event , callable $callback ) : void

参数

event

callback

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有