@@ -123,7 +123,7 @@ is capable of sending messages (e.g. to a queueing system) and then
123123A transport is registered using a "DSN". Thanks to Messenger's Flex recipe, your
124124``.env `` file already has a few examples.
125125
126- .. code-block :: bash
126+ .. code-block :: env
127127
128128 # MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
129129 # MESSENGER_TRANSPORT_DSN=doctrine://default
@@ -841,7 +841,7 @@ Transport Configuration
841841Messenger supports a number of different transport types, each with their own
842842options. Options can be passed to the transport via a DSN string or configuration.
843843
844- .. code-block :: bash
844+ .. code-block :: env
845845
846846 # .env
847847 MESSENGER_TRANSPORT_DSN=amqp://localhost/%2f/messages?auto_setup=false
@@ -917,7 +917,7 @@ RabbitMQ.
917917
918918 The AMQP transport DSN may looks like this:
919919
920- .. code-block :: bash
920+ .. code-block :: env
921921
922922 # .env
923923 MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
@@ -1005,7 +1005,6 @@ The transport has a number of options:
10051005``exchange[flags] `` Exchange flags ``AMQP_DURABLE ``
10061006``exchange[name] `` Name of the exchange
10071007``exchange[type] `` Type of exchange ``fanout ``
1008-
10091008============================================ ================================================= ===================================
10101009
10111010You can also configure AMQP-specific settings on your message by adding
@@ -1047,7 +1046,7 @@ The Doctrine transport can be used to store messages in a database table.
10471046
10481047 The Doctrine transport DSN may looks like this:
10491048
1050- .. code-block :: bash
1049+ .. code-block :: env
10511050
10521051 # .env
10531052 MESSENGER_TRANSPORT_DSN=doctrine://default
@@ -1099,7 +1098,7 @@ it by running:
10991098
11001099 The Beanstalkd transport DSN may looks like this:
11011100
1102- .. code-block :: bash
1101+ .. code-block :: env
11031102
11041103 # .env
11051104 MESSENGER_TRANSPORT_DSN=beanstalkd://localhost:11300?tube_name=foo&timeout=4&ttr=120
@@ -1141,7 +1140,7 @@ the Redis PHP extension (>=4.3) and a running Redis server (^5.0).
11411140
11421141 The Redis transport DSN may looks like this:
11431142
1144- .. code-block :: bash
1143+ .. code-block :: env
11451144
11461145 # .env
11471146 MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
0 commit comments