Skip to content

Commit 89f0a81

Browse files
peterrehmweaverryan
authored andcommitted
Added php code block
1 parent 9abf823 commit 89f0a81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/dependency_injection/lazy_services.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ injected will be the proxy.
8282
To check if your proxy works you can simply check the interface of the
8383
received object.
8484

85-
var_dump(class_implements($service));
85+
.. code-block:: php
86+
var_dump(class_implements($service));
8687
8788
If the class implements the ProxyManager\Proxy\LazyLoadingInterface your lazy
8889
loaded services will work as expected.

0 commit comments

Comments
 (0)