Skip to content

Commit

Permalink
Remove typehint parameter and unused config at this moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutacon committed Aug 30, 2018
1 parent 2042888 commit 9b7b1f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions config/packages/messenger.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
framework:
messenger:
transports:
# Uncomment the following line to enable a transport named "amqp"
amqp: '%env(MESSENGER_TRANSPORT_DSN)%'

routing:
# Route your messages to the transports
# 'App\Message\YourMessage': amqp
default_bus: messenger.bus.command
buses:
messenger.bus.command: ~
Expand Down
4 changes: 2 additions & 2 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ services:
App\Application\Command\CommandHandlerInterface:
public: true
tags:
- { name: messenger.message_handler, typehints: true, bus: messenger.bus.command }
- { name: messenger.message_handler, bus: messenger.bus.command }

App\Application\Query\QueryHandlerInterface:
public: true
tags:
- { name: messenger.message_handler, typehints: true, bus: messenger.bus.query }
- { name: messenger.message_handler, bus: messenger.bus.query }

Broadway\EventHandling\EventListener:
public: true
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- ###- lexik/jwt-authentication-bundle ### -->

<!-- ###+ symfony/messenger ### -->
<env name="MESSENGER_TRANSPORT_DSN" value="amqp://guest:guest@localhost:5672/%2f/messages"/>
<!-- <env name="MESSENGER_TRANSPORT_DSN" value="amqp://guest:guest@localhost:5672/%2f/messages"/> -->
<!-- ###- symfony/messenger ### -->
</php>

Expand Down

0 comments on commit 9b7b1f6

Please sign in to comment.