Skip to content

Commit 0393507

Browse files
Leannapelhamjaviereguiluz
authored andcommitted
Updating class name of lazy ghost interface
I believe this is the actual class - https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/VarExporter/LazyObjectInterface.php
1 parent 7611c41 commit 0393507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/lazy_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ itself when being accessed for the first time). The same happens when calling
8686
To check if your lazy service works you can check the interface of the received object::
8787

8888
dump(class_implements($service));
89-
// the output should include "Symfony\Component\VarExporter\LazyGhostObjectInterface"
89+
// the output should include "Symfony\Component\VarExporter\ObjectInterface"
9090

9191
You can also configure your service's laziness thanks to the
9292
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure` attribute.

0 commit comments

Comments
 (0)