public function ignore($template, $constraints = null) {
        $route = new Route();

        $route->template = $template;
        $route->constraints = $constraints;
        $route->ignore = true;

        $this->ignored->add($route);
    }