Thruway\Peer\RouterInterface::start PHP Method

start() public method

Start the transport
public start ( )
    public function start();

Usage Example

コード例 #1
0
ファイル: RouterCommand.php プロジェクト: enniel/wampeer
 /**
  * Execute the console command.
  *
  * @param RouterInterface $router
  *
  * @return mixed
  */
 public function handle(RouterInterface $router)
 {
     $this->info('Start Thruway WAMP router');
     $router->start($this->option('loop'));
 }