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 @@ -717,7 +717,7 @@ attribute::
717717
718718It is common that a service accepts a closure with a specific signature.
719719In this case, you can use the
720- :class: `Symfony\C omponent\D ependencyInjection\A ttribute\\ AutowireCallable ` attribute
720+ :class: `Symfony\\ Component\\ DependencyInjection\ \ Attribute\\ AutowireCallable ` attribute
721721to generate a closure with the same signature as a specific method of a service. When
722722this closure is called, it will pass all its arguments to the underlying service
723723function. If the closure needs to be called more than once, the service instance
@@ -746,7 +746,7 @@ create extra instances of a non-shared service::
746746 }
747747
748748Finally, you can pass the ``lazy: true `` option to the
749- :class: `Symfony\C omponent\D ependencyInjection\A ttribute\\ AutowireCallable `
749+ :class: `Symfony\\ Component\\ DependencyInjection\ \ Attribute\\ AutowireCallable `
750750attribute. By doing so, the callable will automatically be lazy, which means
751751that the encapsulated service will be instantiated **only ** at the
752752closure's first call.
You can’t perform that action at this time.
0 commit comments