Skip to content

Commit 1bb9578

Browse files
committed
minor #19329 Remove reference to some removed classes (MrYamous)
This PR was squashed before being merged into the 7.0 branch. Discussion ---------- Remove reference to some removed classes Based on code [upgrade 7.0](https://github.com/symfony/symfony/blob/7.0/UPGRADE-7.0.md), remove from docs some removed classes in code Commits ------- 8d69319 Remove reference to some removed classes
2 parents e3c7ddc + 8d69319 commit 1bb9578

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

create_framework/http_kernel_httpkernel_class.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ client; that's what the ``ResponseListener`` does::
114114

115115
$dispatcher->addSubscriber(new HttpKernel\EventListener\ResponseListener('UTF-8'));
116116

117-
If you want out of the box support for streamed responses, subscribe
118-
to ``StreamedResponseListener``::
119-
120-
$dispatcher->addSubscriber(new HttpKernel\EventListener\StreamedResponseListener());
121-
122117
And in your controller, return a ``StreamedResponse`` instance instead of a
123118
``Response`` instance.
124119

introduction/from_flat_php_to_symfony.rst

Lines changed: 5 additions & 6 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 a `Templating`_ 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 Templating 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

@@ -677,7 +676,7 @@ migrating the blog from flat PHP to Symfony has improved your life:
677676
:doc:`routing </routing>`, or rendering :doc:`controllers </controller>`;
678677

679678
* Symfony gives you **access to open source tools** such as `Doctrine`_ and the
680-
`Templating`_, :doc:`Security </security>`, :doc:`Form </components/form>`,
679+
`Twig`_, :doc:`Security </security>`, :doc:`Form </components/form>`,
681680
`Validator`_ and `Translation`_ components (to name a few);
682681

683682
* The application now enjoys **fully-flexible URLs** thanks to the Routing
@@ -694,7 +693,7 @@ A good selection of `Symfony community tools`_ can be found on GitHub.
694693

695694
.. _`Model-View-Controller`: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
696695
.. _`Doctrine`: https://www.doctrine-project.org/
697-
.. _Templating: https://github.com/symfony/templating
696+
.. _Twig: https://github.com/twigphp/twig
698697
.. _Translation: https://github.com/symfony/translation
699698
.. _`Composer`: https://getcomposer.org
700699
.. _`download Composer`: https://getcomposer.org/download/

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2381,7 +2381,7 @@ will not be rolled back.
23812381

23822382
If ``WhenUserRegisteredThenSendWelcomeEmail`` throws an exception, that
23832383
exception will be wrapped into a ``DelayedMessageHandlingException``. Using
2384-
``DelayedMessageHandlingException::getExceptions`` will give you all
2384+
``DelayedMessageHandlingException::getWrappedExceptions`` will give you all
23852385
exceptions that are thrown while handling a message with the
23862386
``DispatchAfterCurrentBusStamp``.
23872387

0 commit comments

Comments
 (0)