From ebd373cafcd0cfe49cc8bbde7ba64b567722e4ac Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Thu, 8 Feb 2024 17:54:25 +0100 Subject: [PATCH] Fix broken class links --- bundles/prepend_extension.rst | 4 ++-- service_container/service_subscribers_locators.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/prepend_extension.rst b/bundles/prepend_extension.rst index 4bd1c7c6a67..613cda7489f 100644 --- a/bundles/prepend_extension.rst +++ b/bundles/prepend_extension.rst @@ -187,7 +187,7 @@ method:: The ``prependExtension()`` method, like ``prepend()``, is called only at compile time. Alternatively, you can use the ``prepend`` parameter of the -:method:`Symfony\\Component\\DependencyInjection\\Loader\\ContainerConfigurator::extension` +:method:`Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator::extension` method:: use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -211,7 +211,7 @@ method:: .. versionadded:: 7.1 The ``prepend`` parameter of the - :method:`Symfony\\Component\\DependencyInjection\\Loader\\ContainerConfigurator::extension` + :method:`Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator::extension` method was added in Symfony 7.1. More than one Bundle using PrependExtensionInterface diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index 31a9fa55f3b..21a7ab295d2 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -123,7 +123,7 @@ In this example, the ``$handler`` service is only instantiated when the You can also type-hint the service locator argument with :class:`Symfony\\Contracts\\Service\\ServiceCollectionInterface` instead of -:class:`Psr\\Container\\ContainerInterface`. By doing so, you'll be able to +``Psr\Container\ContainerInterface``. By doing so, you'll be able to count and iterate over the services of the locator:: // ...