File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ the layout:
244244

245245
You've now introduced a methodology that that allows for the reuse of the
246246
layout. Unfortunately, to accomplish this, you're forced to use a few ugly
247-
PHP functions (``ob_start()``, ``ob_end_clean()``) in the template. Symfony2
247+
PHP functions (``ob_start()``, ``ob_get_clean()``) in the template. Symfony2
248248
uses a ``Templating`` component that allows this to be accomplished cleanly
249249
and easily. You'll see it in action shortly.
250250

@@ -530,7 +530,7 @@ The Sample Application in Symfony2
530530

531531
The blog has come a *long* way, but it still contains a lot of code for such
532532
a simple application. Along the way, we've also invented a simple routing
533-
system and a method using ``ob_start()`` and ``ob_end_clean()`` to render
533+
system and a method using ``ob_start()`` and ``ob_get_clean()`` to render
534534
templates. If, for some reason, you needed to continue building this "framework"
535535
from scratch, you could at least use Symfony's standalone `Routing`_ and
536536
`Templating`_ components, which already solve these problems.

0 commit comments

Comments
 (0)