Skip to content

Commit 9d33d42

Browse files
ahinkleweaverryan
authored andcommitted
Twig is included with Symfony. No need to have the user run composer
1 parent 2bc5bed commit 9d33d42

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

page_creation.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,7 @@ If you're returning HTML from your controller, you'll probably want to render
206206
a template. Fortunately, Symfony comes with `Twig`_: a templating language that's
207207
easy, powerful and actually quite fun.
208208

209-
First, install Twig:
210-
211-
.. code-block:: terminal
212-
213-
$ composer require symfony/twig-bundle
214-
215-
Second, make sure that ``LuckyController`` extends Symfony's base
209+
Make sure that ``LuckyController`` extends Symfony's base
216210
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController` class:
217211

218212
.. code-block:: diff

0 commit comments

Comments
 (0)