swoole_mysql->on

�����¼��ص�������Ŀǰ��֧��onClose�¼��ص���

function swoole_mysql->on($event_name, callable $callback);

onClose�¼�

�����ӹر�ʱ�ص��˺�����

$db->on('Close', function($db){
    echo "MySQL connection is closed.\n";
});