Skip to content

Commit 7dab7dc

Browse files
ahinkleGuikingone
authored andcommitted
Twig is included with Symfony. No need to have the user run composer
1 parent 3ae26e9 commit 7dab7dc

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
@@ -205,13 +205,7 @@ If you're returning HTML from your controller, you'll probably want to render
205205
a template. Fortunately, Symfony comes with `Twig`_: a templating language that's
206206
easy, powerful and actually quite fun.
207207

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

217211
.. code-block:: diff

0 commit comments

Comments
 (0)