original_string: public function redirectToRoute($route, array $params = [], $permanent = false)
      {
          $map = $this->app()->getRouteMap();
          $url = $map->assemble($route, $params);
  
          return $this->redirect($url, $permanent);
      }
code: public function redirectToRoute($route, array $params = [], $permanent = false)
      {
          $map = $this->app()->getRouteMap();
          $url = $map->assemble($route, $params);
  
          return $this->redirect($url, $permanent);
      }
code_tokens: public function redirectToRoute ( $ route , array $ params = [ ] , $ permanent = false ) { $ map = $ this -> app ( ) -> getRouteMap ( ) ; $ url = $ map -> assemble ( $ route , $ params ) ; return $ this -> redirect ( $ url , $ permanent ) ; }
docstring: Redirects to a named route.
  
  @see \Tonis\Http\Response::redirect()
  @param string $route
  @param array $params
  @param bool|false $permanent
  @return ResponseInterface
docstring_tokens: Redirects to a named route .