| 1 | <?php |
||
| 8 | class RabbitMqQueueCreator implements QueueCreatorInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var BrokerModel |
||
| 12 | */ |
||
| 13 | private $brokerModel; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var RoutingTopology |
||
| 17 | */ |
||
| 18 | private $routingTopology; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var bool |
||
| 22 | */ |
||
| 23 | private $useDurableMessages; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param BrokerModel $brokerModel |
||
| 27 | * @param RoutingTopology $routingTopology |
||
| 28 | * @param bool $useDurableMessages |
||
| 29 | */ |
||
| 30 | 3 | public function __construct(BrokerModel $brokerModel, RoutingTopology $routingTopology, $useDurableMessages) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Creates message queues for the defined queue bindings. |
||
| 39 | * |
||
| 40 | * @param QueueBindings $queueBindings |
||
| 41 | */ |
||
| 42 | 2 | public function createIfNecessary(QueueBindings $queueBindings) |
|
| 49 | } |
||
| 50 |