Skip to content

Commit 0816f2b

Browse files
committed
Tweaks
1 parent d1052b2 commit 0816f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/lazy_services.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ Another possibility is to use the :class:`Symfony\\Component\\DependencyInjectio
137137
// ...
138138
}
139139

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::
140+
This attribute can be applied to both class and parameters that should be lazy-loaded.
141+
It defines an optional parameter used to define interfaces for proxy and intersection types::
142142

143143
public function __construct(
144144
#[Lazy(FooInterface::class)]

0 commit comments

Comments
 (0)