Update 11-page-menu.md

This commit is contained in:
Patrick Louys 2016-11-02 13:05:02 +01:00 committed by lubiana
parent b3d0937089
commit 0e47557468

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. 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: Then create the a `TwigRenderer.php` in your `src/Template` folder that looks like this: