| 1 | <?php  | 
            ||
| 12 | abstract class AbstractRabbitMQContext implements Context  | 
            ||
| 13 | { | 
            ||
| 14 | const  | 
            ||
| 15 | TEXT_ROUTING_KEY = 'text.key',  | 
            ||
| 16 | JSON_ROUTING_KEY = 'json.key';  | 
            ||
| 17 | |||
| 18 | protected  | 
            ||
| 19 | $api,  | 
            ||
| 20 | $exchange,  | 
            ||
| 21 | $client,  | 
            ||
| 22 | $configuration;  | 
            ||
| 23 | |||
| 24 | public function __construct($path)  | 
            ||
| 32 | |||
| 33 | private function host()  | 
            ||
| 37 | |||
| 38 | protected function vhost()  | 
            ||
| 42 | }  | 
            ||
| 43 |