Update 11-page-menu.md

This commit is contained in:
Patrick Louys 2016-11-02 13:05:02 +01:00 committed by lubiana
parent d0238dac9a
commit 19e87fa3b5
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

View file

@ -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: