diff --git a/components/dependency_injection/compilation.rst b/components/dependency_injection/compilation.rst index a90110e4e65..f83a9e8e84d 100644 --- a/components/dependency_injection/compilation.rst +++ b/components/dependency_injection/compilation.rst @@ -7,7 +7,9 @@ Compiling the Container The service container can be compiled for various reasons. These reasons include checking for any potential issues such as circular references and making the container more efficient by resolving parameters and removing -unused services. +unused services. Also, certain features - like using +:doc:`parent services ` - +require the container to be compiled. It is compiled by running::