diff --git a/configuration.rst b/configuration.rst index cb5a6a4bd8b..3486441ba1d 100644 --- a/configuration.rst +++ b/configuration.rst @@ -796,6 +796,8 @@ parameters at once by type-hinting any of its constructor arguments with the :class:`Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface`:: // src/Service/MessageGenerator.php + namespace App\Service; + // ... use Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface;