File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ attribute::
704704
705705It is common that a service accepts a closure with a specific signature.
706706In this case, you can use the
707- :class: `Symfony\C omponent\D ependencyInjection\A ttribute\\ AutowireCallable ` attribute
707+ :class: `Symfony\\ Component\\ DependencyInjection\ \ Attribute\\ AutowireCallable ` attribute
708708to generate a closure with the same signature as a specific method of a service. When
709709this closure is called, it will pass all its arguments to the underlying service
710710function. 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
735735Finally, you can pass the ``lazy: true `` option to the
736- :class: `Symfony\C omponent\D ependencyInjection\A ttribute\\ AutowireCallable `
736+ :class: `Symfony\\ Component\\ DependencyInjection\ \ Attribute\\ AutowireCallable `
737737attribute. By doing so, the callable will automatically be lazy, which means
738738that the encapsulated service will be instantiated **only ** at the
739739closure's first call.
You can’t perform that action at this time.
0 commit comments