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 2c7dc81 commit ebd7af4Copy full SHA for ebd7af4
service_container/lazy_services.rst
@@ -137,11 +137,11 @@ Another possibility is to use the :class:`Symfony\\Component\\DependencyInjectio
137
// ...
138
}
139
140
-This attribute can be used on a class or on an argument which should be lazy-loaded, and has a `lazy` parameter
+This attribute can be used on a class or on an argument which should be lazy-loaded, and has a parameter
141
that also supports defining interfaces to proxy and intersection types::
142
143
public function __construct(
144
- #[Lazy(lazy: FooInterface::class)]
+ #[Lazy(FooInterface::class)]
145
FooInterface|BarInterface $foo,
146
) {
147
0 commit comments