public function registerRouter($router, ...$params)
    {
        $this->_router->add($router, ...$params);
        if (defined('FOCUS_DEBUG') && FOCUS_DEBUG) {
            $this->getLogger()->debug('add new router: '
                                  .(is_string($router) ? $router : get_class($router)));
        }
    }
public function registerRouter($router, ...$params)
    {
        $this->_router->add($router, ...$params);
        if (defined('FOCUS_DEBUG') && FOCUS_DEBUG) {
            $this->getLogger()->debug('add new router: '
                                  .(is_string($router) ? $router : get_class($router)));
        }
    }
public function registerRouter ( $ router , ... $ params ) { $ this -> _router -> add ( $ router , ... $ params ) ; if ( defined ( 'FOCUS_DEBUG' ) && FOCUS_DEBUG ) { $ this -> getLogger ( ) -> debug ( 'add new router: ' . ( is_string ( $ router ) ? $ router : get_class ( $ router ) ) ) ; } }
register router.

@param $router
@param $params
register router .