public function registerModule(RouterModuleInterface $module)
    {
        $module->initModule($this, $this->getLoop());
        $this->eventDispatcher->addSubscriber($module);
    }
public function registerModule(RouterModuleInterface $module)
    {
        $module->initModule($this, $this->getLoop());
        $this->eventDispatcher->addSubscriber($module);
    }
public function registerModule ( RouterModuleInterface $ module ) { $ module -> initModule ( $ this , $ this -> getLoop ( ) ) ; $ this -> eventDispatcher -> addSubscriber ( $ module ) ; }
Registers a RouterModule

@param RouterModuleInterface $module
Registers a RouterModule