From 19a364b6750b78c4bde7e7a76f7dcce21ffe44f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Muszy=C5=84ski?= Date: Fri, 5 Aug 2016 11:32:09 +0200 Subject: [PATCH] Update lazy_services.rst --- 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 fb008e5487f..9595e02cc94 100644 --- a/service_container/lazy_services.rst +++ b/service_container/lazy_services.rst @@ -75,7 +75,7 @@ You can mark the service as ``lazy`` by manipulating its definition: Once you inject the service into another service, a virtual `proxy`_ with the same signature of the class representing the service should be injected. The -same happends when calling ``Container::get()`` directly. +same happens when calling ``Container::get()`` directly. The actual class will be instantiated as soon as you try to interact with the service (e.g. call one of its methods).