PHP code example of adtechpotok / messenger-adapter
1. Go to this page and download the library: Download adtechpotok/messenger-adapter library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adtechpotok / messenger-adapter example snippets
use Enqueue\MessengerAdapter\EnvelopeItem\TransportConfiguration;
// ...
$this->bus->dispatch((new Envelope($message))->with(new TransportConfiguration(
['topic' => 'specific-topic']
)));