Skip to content

Commit

Permalink
Update doc/01-installation.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
senghe committed Dec 18, 2023
1 parent df61515 commit dac41a3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions doc/01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@
## Asynchronous Messenger case
In case you use asynchronous Messenger transport by default, there is a need to configure all Wishlist commands to sync transport.
You can do this by configuring the `WishlistSyncCommandInterface` interface to sync transport (as presented on code listing below).
In case you use asynchronous Messenger transport by default, there is a need to configure all Wishlist commands to sync transport.
You can do this by configuring the `WishlistSyncCommandInterface` interface to sync transport (as presented on code listing below).
```yaml
# config/packages/messenger.yaml
framework:
messenger:
transports:
sync: 'sync://'
routing:
'BitBag\SyliusWishlistPlugin\Command\Wishlist\WishlistSyncCommandInterface': sync
```
```yaml
# config/packages/messenger.yaml
framework:
messenger:
transports:
sync: 'sync://'
routing:
'BitBag\SyliusWishlistPlugin\Command\Wishlist\WishlistSyncCommandInterface': sync
```
All commands from the plugin implement the `WishlistSyncCommandInterface` interface, so there is no need for other configuration.
All commands from the plugin implement the `WishlistSyncCommandInterface` interface, so there is no need for other configuration.

0 comments on commit dac41a3

Please sign in to comment.