| 1 | <?php |
||
| 9 | class PrefixedExchangesClient implements Client |
||
| 10 | { |
||
| 11 | const |
||
| 12 | DELIMITER = '.'; |
||
| 13 | |||
| 14 | use LoggerAwareTrait; |
||
| 15 | |||
| 16 | private |
||
| 17 | $client, |
||
| 18 | $exchangesPrefix; |
||
| 19 | |||
| 20 | public function __construct(Client $client, $exchangesPrefix) |
||
| 25 | |||
| 26 | public function publish($exchangeName, WritableMessage $message) |
||
| 33 | |||
| 34 | private function computeExchangeName($exchangeName) |
||
| 48 | |||
| 49 | public function getQueue($queueName) |
||
| 53 | |||
| 54 | public function getExchange($exchangeName) |
||
| 60 | } |
||
| 61 |