php
use Webman\GatewayWorker\Gateway;
use app\plugin\GatewayWorker\Gateway as GatewayPlugin;
use Webman\GatewayWorker\BusinessWorker;
use Webman\GatewayWorker\Register;
return [
'gateway-websocket' =127.0.0.1:1236',
'onConnect' => function(){},
]]
],
...省略
];
```
```
// 复制webmanphp
namespace app\plugin\GatewayWorker;
class Gateway extends \GatewayWorker\Gateway
{
/**\\Gateway", 'routerBindNew');
$this->router = array("\\GatewayWorker\\Gateway", 'routerBind')