File tree
Expand file treeCollapse file tree1 file changed
+2
-2
lines changed Expand file treeCollapse file tree1 file changed
+2
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -244,7 +244,7 @@ the layout:
|
244 | 244 |
|
245 | 245 | You've now introduced a methodology that that allows for the reuse of the
|
246 | 246 | 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 |
248 | 248 | uses a ``Templating`` component that allows this to be accomplished cleanly
|
249 | 249 | and easily. You'll see it in action shortly.
|
250 | 250 |
|
@@ -530,7 +530,7 @@ The Sample Application in Symfony2
|
530 | 530 |
|
531 | 531 | The blog has come a *long* way, but it still contains a lot of code for such
|
532 | 532 | 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 |
534 | 534 | templates. If, for some reason, you needed to continue building this "framework"
|
535 | 535 | from scratch, you could at least use Symfony's standalone `Routing`_ and
|
536 | 536 | `Templating`_ components, which already solve these problems.
|
|
You can’t perform that action at this time.
0 commit comments