Skip to content

Commit d1fe7ab

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Add note about final classes
2 parents a3d4ae9 + e5e04ff commit d1fe7ab

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)