Thruway\Peer\RouterInterface::start PHP Method

start() public method

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

Usage Example

Esempio n. 1
0
 /**
  * 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'));
 }