From c9b6dbf3c6bf0851705a04e66412df81e7ae282e Mon Sep 17 00:00:00 2001 From: John Williams Date: Mon, 30 Dec 2024 21:37:16 +0000 Subject: [PATCH] Update index.rst Grammar fix --- src/TwigComponent/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TwigComponent/doc/index.rst b/src/TwigComponent/doc/index.rst index b6b1b346f1a..48fdde53112 100644 --- a/src/TwigComponent/doc/index.rst +++ b/src/TwigComponent/doc/index.rst @@ -395,7 +395,7 @@ Fetching Services Let's create a more complex example: a "featured products" component. You *could* choose to pass an array of Product objects to the component and set those on a ``$products`` property. But instead, let's let the -*component* to do the work of executing the query. +*component* do the work of executing the query. How? Components are *services*, which means autowiring works like normal. This example assumes you have a ``Product`` Doctrine entity and