Skip to content

Commit 5631e49

Browse files
mocratesxabbuh
authored andcommitted
Fix instance of class in express language in DI
It's not a ContainerBuilder but a Container instance usable in complex expr
1 parent b53c771 commit 5631e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/expression_language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ In this context, you have access to 2 functions:
6464
``parameter``
6565
Returns a specific parameter value (syntax is just like ``service``).
6666

67-
You also have access to the :class:`Symfony\\Component\\DependencyInjection\\ContainerBuilder`
67+
You also have access to the :class:`Symfony\\Component\\DependencyInjection\\Container`
6868
via a ``container`` variable. Here's another example:
6969

7070
.. configuration-block::

0 commit comments

Comments
 (0)