Skip to content

Commit ec05255

Browse files
committed
minor #19987 [Messenger] Document the --format option of messenger:stats command (javiereguiluz)
This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Document the --format option of messenger:stats command Fixes #19984. Commits ------- ea63cd7 [Messenger] Document the --format option of messenger:stats command
2 parents eb1e384 + ea63cd7 commit ec05255

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

messenger.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,14 @@ of some or all transports:
688688
# shows stats only for some transports
689689
$ php bin/console messenger:stats my_transport_name other_transport_name
690690
691+
# you can also output the stats in JSON format
692+
$ php bin/console messenger:stats --format=json
693+
$ php bin/console messenger:stats my_transport_name other_transport_name --format=json
694+
695+
.. versionadded:: 7.2
696+
697+
The ``format`` option was introduced in Symfony 7.2.
698+
691699
.. note::
692700

693701
In order for this command to work, the configured transport's receiver must implement

0 commit comments

Comments
 (0)