Skip to content

Commit 60e1e24

Browse files
authored
apply review
1 parent 0ab9bba commit 60e1e24

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

introduction/from_flat_php_to_symfony.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ the ``templates/layout.php``:
240240
You now have a setup that will allow you to reuse the layout.
241241
Unfortunately, to accomplish this, you're forced to use a few ugly
242242
PHP functions (``ob_start()``, ``ob_get_clean()``) in the template. Symfony
243-
solves this using `Twig`_ component. You'll see it in action shortly.
243+
solves this using `Twig`_. You'll see it in action shortly.
244244

245245
Adding a Blog "show" Page
246246
-------------------------
@@ -568,9 +568,8 @@ nice way to group related pages. The controller functions are also sometimes cal
568568

569569
The two controllers (or actions) are still lightweight. Each uses the
570570
:doc:`Doctrine ORM library </doctrine>` to retrieve objects from the
571-
database and the Twig component to render a template and return a
572-
``Response`` object. The ``list.html.twig`` template is now quite a bit simpler,
573-
and uses Twig:
571+
database and Twig to render a template and return a ``Response`` object.
572+
The ``list.html.twig`` template is now quite a bit simpler, and uses Twig:
574573

575574
.. code-block:: html+twig
576575

0 commit comments

Comments
 (0)