src/Mvc/Application.php
public function registerRouter(AbstractRouter $router)
    {
    	$this->router = $router;
    	$this->router->setApplication($this);
    	return $this;
    }
public function registerRouter(AbstractRouter $router)
    {
    	$this->router = $router;
    	$this->router->setApplication($this);
    	return $this;
    }
Register a new Router

@param AbstractRouter $router
@return Application the current application instance