Skip to content

Commit

Permalink
chore: replace word throw by dispatch for event
Browse files Browse the repository at this point in the history
  • Loading branch information
94noni authored Feb 26, 2024
1 parent a7d98b0 commit cf16892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/event_dispatcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ truly extensible.
Take an example from :doc:`the HttpKernel component </components/http_kernel>`.
Once a ``Response`` object has been created, it may be useful to allow other
elements in the system to modify it (e.g. add some cache headers) before
it's actually used. To make this possible, the Symfony kernel throws an
it's actually used. To make this possible, the Symfony kernel dispatches an
event - ``kernel.response``. Here's how it works:

* A *listener* (PHP object) tells a central *dispatcher* object that it
Expand Down

0 comments on commit cf16892

Please sign in to comment.