3 namespace Drupal\Core\Routing\Enhancer;
5 use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface as BaseRouteEnhancerInterface;
6 use Symfony\Component\Routing\Route;
9 * A route enhance service to determine route enhance rules.
11 interface RouteEnhancerInterface extends BaseRouteEnhancerInterface {
14 * Declares if the route enhancer 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);