We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ConsoleTerminateEvent
1 parent 53959da commit 7ba8806Copy full SHA for 7ba8806
components/console/events.rst
@@ -152,6 +152,17 @@ Listeners receive a
152
It is then dispatched just after the ``ConsoleEvents::ERROR`` event.
153
The exit code received in this case is the exception code.
154
155
+ Additionally, the event is dispatched when the command is being exited on
156
+ a signal. You can learn more about signals in the
157
+ :ref:`the dedicated section <console-events_signal>`.
158
+
159
+ .. versionadded:: 6.4
160
161
+ The dispatching of the ``ConsoleEvents::TERMINATE`` event on exit
162
+ signal was introduced in Symfony 6.4.
163
164
+.. _console-events_signal:
165
166
The ``ConsoleEvents::SIGNAL`` Event
167
-----------------------------------
168
0 commit comments