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

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

        $this->ignored->add($route);
    }
public function ignore($template, $constraints = null) {
        $route = new Route();

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

        $this->ignored->add($route);
    }
public function ignore ( $ template , $ constraints = null ) { $ route = new Route ( ) ; $ route -> template = $ template ; $ route -> constraints = $ constraints ; $ route -> ignore = true ; $ this -> ignored -> add ( $ route ) ; }
Adds an URL pattern that should not be checked for matches against routes if a request URL meets the specified constraints.

@param string $template The URL pattern to be ignored.
@param array $constraints An associative array containing regular expressions for checking the elements of the route.

@return void
Adds an URL pattern that should not be checked for matches against routes if a request URL meets the specified constraints .