From d97b1a7294046122184cf339c720ec1923853b9e Mon Sep 17 00:00:00 2001 From: mocrates Date: Thu, 19 Oct 2017 20:45:37 +0200 Subject: [PATCH] Fix instance of class in express language in DI It's not a ContainerBuilder but a Container instance usable in complex expr --- service_container/expression_language.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/expression_language.rst b/service_container/expression_language.rst index 2e59b804dc2..de887ebf504 100644 --- a/service_container/expression_language.rst +++ b/service_container/expression_language.rst @@ -71,7 +71,7 @@ In this context, you have access to 2 functions: ``parameter`` Returns a specific parameter value (syntax is just like ``service``). -You also have access to the :class:`Symfony\\Component\\DependencyInjection\\ContainerBuilder` +You also have access to the :class:`Symfony\\Component\\DependencyInjection\\Container` via a ``container`` variable. Here's another example: .. configuration-block::