Skip to content

Commit cf3e761

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: -
2 parents f1d067e + 3c52174 commit cf3e761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/autowiring.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ attribute::
704704

705705
It is common that a service accepts a closure with a specific signature.
706706
In this case, you can use the
707-
:class:`Symfony\Component\DependencyInjection\Attribute\\AutowireCallable` attribute
707+
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireCallable` attribute
708708
to generate a closure with the same signature as a specific method of a service. When
709709
this closure is called, it will pass all its arguments to the underlying service
710710
function. If the closure needs to be called more than once, the service instance
@@ -733,7 +733,7 @@ create extra instances of a non-shared service::
733733
}
734734

735735
Finally, you can pass the ``lazy: true`` option to the
736-
:class:`Symfony\Component\DependencyInjection\Attribute\\AutowireCallable`
736+
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireCallable`
737737
attribute. By doing so, the callable will automatically be lazy, which means
738738
that the encapsulated service will be instantiated **only** at the
739739
closure's first call.

0 commit comments

Comments
 (0)