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.");

    }