Skip to content

Remove reference to some removed classes #19329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions create_framework/http_kernel_httpkernel_class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ client; that's what the ``ResponseListener`` does::

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

If you want out of the box support for streamed responses, subscribe
to ``StreamedResponseListener``::

$dispatcher->addSubscriber(new HttpKernel\EventListener\StreamedResponseListener());

And in your controller, return a ``StreamedResponse`` instance instead of a
``Response`` instance.

Expand Down
11 changes: 5 additions & 6 deletions introduction/from_flat_php_to_symfony.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ the ``templates/layout.php``:
You now have a setup that will allow you to reuse the layout.
Unfortunately, to accomplish this, you're forced to use a few ugly
PHP functions (``ob_start()``, ``ob_get_clean()``) in the template. Symfony
solves this using a `Templating`_ component. You'll see it in action shortly.
solves this using `Twig`_. You'll see it in action shortly.

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

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

.. code-block:: html+twig

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

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

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

.. _`Model-View-Controller`: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
.. _`Doctrine`: https://www.doctrine-project.org/
.. _Templating: https://github.com/symfony/templating
.. _Twig: https://github.com/twigphp/twig
.. _Translation: https://github.com/symfony/translation
.. _`Composer`: https://getcomposer.org
.. _`download Composer`: https://getcomposer.org/download/
Expand Down
2 changes: 1 addition & 1 deletion messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2381,7 +2381,7 @@ will not be rolled back.

If ``WhenUserRegisteredThenSendWelcomeEmail`` throws an exception, that
exception will be wrapped into a ``DelayedMessageHandlingException``. Using
``DelayedMessageHandlingException::getExceptions`` will give you all
``DelayedMessageHandlingException::getWrappedExceptions`` will give you all
exceptions that are thrown while handling a message with the
``DispatchAfterCurrentBusStamp``.

Expand Down