From c9654fb02023468042783c041fcefbaea2645e50 Mon Sep 17 00:00:00 2001 From: Ozan Akman Date: Tue, 6 Feb 2024 14:26:44 +0100 Subject: [PATCH] [DependencyInjection] Add readonly statement to the Lazy Services docs --- service_container/lazy_services.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/lazy_services.rst b/service_container/lazy_services.rst index 86cfc33749b..fb5af58d509 100644 --- a/service_container/lazy_services.rst +++ b/service_container/lazy_services.rst @@ -23,7 +23,7 @@ until you interact with the proxy in some way. .. caution:: - Lazy services do not support `final`_ classes, but you can use + Lazy services do not support `final`_ or `readonly` classes, but you can use `Interface Proxifying`_ to work around this limitation. In PHP versions prior to 8.0 lazy services do not support parameters with