Skip to content

Commit

Permalink
remove reference to some removed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYamous authored Dec 23, 2023
1 parent 717aee7 commit 0ab9bba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
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
8 changes: 4 additions & 4 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`_ component. You'll see it in action shortly.

Adding a Blog "show" Page
-------------------------
Expand Down Expand Up @@ -568,7 +568,7 @@ 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
database and the Twig component to render a template and return a
``Response`` object. The ``list.html.twig`` template is now quite a bit simpler,
and uses Twig:

Expand Down Expand Up @@ -677,7 +677,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 +694,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

0 comments on commit 0ab9bba

Please sign in to comment.