3 namespace Drupal\Core\Routing;
5 use Symfony\Cmf\Component\Routing\NestedMatcher\RouteFilterInterface as BaseRouteFilterInterface;
6 use Symfony\Component\Routing\Route;
9 * A route filter service to filter down the collection of route instances.
11 interface RouteFilterInterface extends BaseRouteFilterInterface {
14 * Determines if the route filter applies to the given route.
16 * @param \Symfony\Component\Routing\Route $route
17 * The route to consider attaching to.
20 * TRUE if the check applies to the passed route, FALSE otherwise.
22 public function applies(Route $route);