public function matches(Request $request)
    {
        return in_array(
            $request->attributes->get('_route'),
            array(FallbackRouter::ROUTE_NAME, UrlAliasRouter::URL_ALIAS_ROUTE_NAME),
            true
        );
    }
public function matches(Request $request)
    {
        return in_array(
            $request->attributes->get('_route'),
            array(FallbackRouter::ROUTE_NAME, UrlAliasRouter::URL_ALIAS_ROUTE_NAME),
            true
        );
    }
Returns if this plugin matches the current request.

@param \Symfony\Component\HttpFoundation\Request $request

@return bool