From 80b24c1de7f82b9c7f0f23df45b03fce9f18fb57 Mon Sep 17 00:00:00 2001 From: Jonathan Finch Date: Fri, 2 Jun 2017 15:44:03 +0100 Subject: [PATCH] Fixed trivial code example typo --- service_container.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_container.rst b/service_container.rst index 2ceaca349f1..5151afab455 100644 --- a/service_container.rst +++ b/service_container.rst @@ -240,7 +240,7 @@ be its class name in this case:: use AppBundle\Service\MessageGenerator; // accessing services like this only works if you extend Controller - class ProductController extend Controller + class ProductController extends Controller { public function newAction() { @@ -1002,4 +1002,4 @@ Learn more /service_container/* .. _`service-oriented architecture`: https://en.wikipedia.org/wiki/Service-oriented_architecture -.. _`Symfony Standard Edition (version 3.3) services.yml`: https://github.com/symfony/symfony-standard/blob/master/app/config/services.yml \ No newline at end of file +.. _`Symfony Standard Edition (version 3.3) services.yml`: https://github.com/symfony/symfony-standard/blob/master/app/config/services.yml