Update 11-page-menu.md
This commit is contained in:
parent
9a7b586548
commit
1e5cd00b03
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue