public function initModule(RouterInterface $router, LoopInterface $loop) { $this->router = $router; $this->loop = $loop; }