original_string: public function route($name = ''){
          $routes = AsCollector::getAs();
  
          if (isset($routes[$name])) {
              $this->to($routes[$name]);
          }else{
              throw new RouteNotFoundException(sprintf('%s Route Not Found'));
          }
      }
code: public function route($name = ''){
          $routes = AsCollector::getAs();
  
          if (isset($routes[$name])) {
              $this->to($routes[$name]);
          }else{
              throw new RouteNotFoundException(sprintf('%s Route Not Found'));
          }
      }
code_tokens: public function route ( $ name = '' ) { $ routes = AsCollector :: getAs ( ) ; if ( isset ( $ routes [ $ name ] ) ) { $ this -> to ( $ routes [ $ name ] ) ; } else { throw new RouteNotFoundException ( sprintf ( '%s Route Not Found' ) ) ; } }
docstring: redirect to a route
  
  @param string $name
  @throws RouteNotFoundException
docstring_tokens: redirect to a route