diff --git a/routing/custom_route_loader.rst b/routing/custom_route_loader.rst index ebd24d80b14..8cde9c3af03 100644 --- a/routing/custom_route_loader.rst +++ b/routing/custom_route_loader.rst @@ -127,6 +127,10 @@ of the service whose ID is ``admin_route_loader``. Your service doesn't have to extend or implement any special class, but the called method must return a :class:`Symfony\\Component\\Routing\\RouteCollection` object. +If you're using :ref:`autoconfigure `, your service should +implement the ``RouteLoaderInterface`` interface to be tagged automatically. +If you're **not using autoconfigure**, tag it manually with ``routing.route_loader``. + .. note:: The routes defined using service route loaders will be automatically