Skip to content

Commit 7350181

Browse files
committed
minor #19605 chore: replace word throw by dispatch for event (94noni)
This PR was merged into the 5.4 branch. Discussion ---------- chore: replace word throw by dispatch for event I think its better, as throw can sound exception related wdyt? Commits ------- cf16892 chore: replace word throw by dispatch for event
2 parents a7d98b0 + cf16892 commit 7350181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ truly extensible.
2828
Take an example from :doc:`the HttpKernel component </components/http_kernel>`.
2929
Once a ``Response`` object has been created, it may be useful to allow other
3030
elements in the system to modify it (e.g. add some cache headers) before
31-
it's actually used. To make this possible, the Symfony kernel throws an
31+
it's actually used. To make this possible, the Symfony kernel dispatches an
3232
event - ``kernel.response``. Here's how it works:
3333

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

0 commit comments

Comments
 (0)