We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1052b2 commit 0816f2bCopy full SHA for 0816f2b
service_container/lazy_services.rst
@@ -137,8 +137,8 @@ Another possibility is to use the :class:`Symfony\\Component\\DependencyInjectio
137
// ...
138
}
139
140
-This attribute can be used on a class or on a parameter which should be lazy-loaded, and has a parameter
141
-that also supports defining interfaces to proxy and intersection types::
+This attribute can be applied to both class and parameters that should be lazy-loaded.
+It defines an optional parameter used to define interfaces for proxy and intersection types::
142
143
public function __construct(
144
#[Lazy(FooInterface::class)]
0 commit comments