From 1e5cd00b037dcc48d38b4baf28c0f3f262d1af14 Mon Sep 17 00:00:00 2001 From: Patrick Louys Date: Wed, 2 Nov 2016 13:05:02 +0100 Subject: [PATCH] Update 11-page-menu.md --- 11-page-menu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11-page-menu.md b/11-page-menu.md index 6490067..6a14fd8 100644 --- a/11-page-menu.md +++ b/11-page-menu.md @@ -16,7 +16,7 @@ Now you might wonder why we didn't start with Twig right away. Because this is a Remember how you created a `MustacheRenderer` in [chapter 9](09-templating.md)? This time, we create a `TwigRenderer` that implements the same interface. -But before we start, install the latest version of Twig with composer. +But before we start, install the latest version of Twig with composer (`composer require "twig/twig:~1.0"`). Then create the a `TwigRenderer.php` in your `src/Template` folder that looks like this: