original_string: public function route()
      {
          $this->routes->rewind();
          while ($this->routes->valid()) {
              $route = $this->routes->current();
              if ($route->run()) {
                  return;
              }
              $this->routes->next();
          }
  
          throw new \RuntimeException("FlexPress router: No route found - please make sure you have setup routes.");
  
      }
code: public function route()
      {
          $this->routes->rewind();
          while ($this->routes->valid()) {
              $route = $this->routes->current();
              if ($route->run()) {
                  return;
              }
              $this->routes->next();
          }
  
          throw new \RuntimeException("FlexPress router: No route found - please make sure you have setup routes.");
  
      }
code_tokens: public function route ( ) { $ this -> routes -> rewind ( ) ; while ( $ this -> routes -> valid ( ) ) { $ route = $ this -> routes -> current ( ) ; if ( $ route -> run ( ) ) { return ; } $ this -> routes -> next ( ) ; } throw new \ RuntimeException ( "FlexPress router: No route found - please make sure you have setup routes." ) ; }
docstring: Runs through all the routes and runs them
  @author Tim Perry
docstring_tokens: Runs through all the routes and runs them