8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@c68f9a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c68f9a7

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Add note about final classes
2 parents d51fa1e + d1fe7ab commit c68f9a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

service_container/lazy_services.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Configuring lazy services is one answer to this. With a lazy service, a
2323
just like the ``mailer``, except that the ``mailer`` isn't actually instantiated
2424
until you interact with the proxy in some way.
2525

26+
.. caution::
27+
28+
Lazy services do not support `final`_ classes.
29+
2630
Installation
2731
------------
2832

@@ -103,3 +107,4 @@ in the `documentation of ProxyManager`_.
103107
.. _`proxy`: https://en.wikipedia.org/wiki/Proxy_pattern
104108
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md
105109
.. _`ocramius/proxy-manager`: https://github.com/Ocramius/ProxyManager
110+
.. _`final`: https://www.php.net/manual/en/language.oop5.final.php

0 commit comments

Comments
 (0)
0