1 | <?php |
||
5 | class EndpointInstance implements EndpointInstanceInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var BusContextInterface |
||
9 | */ |
||
10 | private $busContext; |
||
11 | |||
12 | /** |
||
13 | * @param BusContextInterface $busContext |
||
14 | */ |
||
15 | 6 | public function __construct(BusContextInterface $busContext) |
|
19 | |||
20 | /** |
||
21 | * @param object $message |
||
22 | * @param SendOptions|null $options |
||
23 | */ |
||
24 | 1 | public function send($message, SendOptions $options = null) |
|
28 | |||
29 | /** |
||
30 | * @param object $message |
||
31 | * @param SendOptions|null $options |
||
32 | */ |
||
33 | 1 | public function sendLocal($message, SendOptions $options = null) |
|
37 | |||
38 | /** |
||
39 | * @param object $message |
||
40 | * @param PublishOptions|null $options |
||
41 | */ |
||
42 | 1 | public function publish($message, PublishOptions $options = null) |
|
46 | |||
47 | /** |
||
48 | * @param string $eventFqcn |
||
49 | * @param SubscribeOptions|null $options |
||
50 | */ |
||
51 | 1 | public function subscribe($eventFqcn, SubscribeOptions $options = null) |
|
55 | |||
56 | /** |
||
57 | * @param string $eventFqcn |
||
58 | * @param UnsubscribeOptions|null $options |
||
59 | */ |
||
60 | 1 | public function unsubscribe($eventFqcn, UnsubscribeOptions $options = null) |
|
64 | } |
||
65 |