Swoole\MySQL::on

Register callback function based on event name.

説明

public void Swoole\MySQL::on(string $event_name, callable $callback)

Register callback function based on event name, current only 'close' event is supported.

パラメータ

event_name

callback

戻り値