1 | <?php |
||
21 | final class Protocol implements ProtocolInterface |
||
|
|||
22 | { |
||
23 | private $version; |
||
24 | private $read; |
||
25 | private $connection; |
||
26 | private $exchange; |
||
27 | private $queue; |
||
28 | private $basic; |
||
29 | private $transaction; |
||
30 | |||
31 | public function __construct() |
||
41 | |||
42 | public function version(): Version |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function read(Method $method, Str $arguments): StreamInterface |
||
54 | |||
55 | public function connection(): ConnectionInterface |
||
59 | |||
60 | public function exchange(): ExchangeInterface |
||
64 | |||
65 | public function queue(): QueueInterface |
||
69 | |||
70 | public function basic(): BasicInterface |
||
74 | |||
75 | public function transaction(): TransactionInterface |
||
79 | } |
||
80 |