public function getGroup($method)
    {
        if (isset($this->routes[$method])) {
            return $this->routes[$method];
        }

        throw new RoutingException("Routes group [{$method}] does not exist.");
    }