| 1 | <?php |
||
| 10 | abstract class AbstractRabbitMQContext implements Context |
||
|
|
|||
| 11 | { |
||
| 12 | const |
||
| 13 | TEXT_ROUTING_KEY = 'text.key', |
||
| 14 | JSON_ROUTING_KEY = 'json.key'; |
||
| 15 | |||
| 16 | protected |
||
| 17 | $api, |
||
|
1 ignored issue
–
show
|
|||
| 18 | $exchange, |
||
| 19 | $client, |
||
| 20 | $configuration; |
||
| 21 | |||
| 22 | public function __construct($path) |
||
| 30 | |||
| 31 | private function host() |
||
| 35 | |||
| 36 | protected function vhost() |
||
| 40 | } |
||
| 41 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.