1 | <?php |
||
22 | final class Protocol implements ProtocolInterface |
||
23 | { |
||
24 | private $version; |
||
25 | private $read; |
||
26 | private $connection; |
||
27 | private $channel; |
||
28 | private $exchange; |
||
29 | private $queue; |
||
30 | private $basic; |
||
31 | private $transaction; |
||
32 | |||
33 | 1 | public function __construct() |
|
44 | |||
45 | 1 | public function version(): Version |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function read(Method $method, Str $arguments): StreamInterface |
||
57 | |||
58 | 1 | public function connection(): ConnectionInterface |
|
62 | |||
63 | 1 | public function channel(): ChannelInterface |
|
67 | |||
68 | 1 | public function exchange(): ExchangeInterface |
|
72 | |||
73 | 1 | public function queue(): QueueInterface |
|
77 | |||
78 | 1 | public function basic(): BasicInterface |
|
82 | |||
83 | 1 | public function transaction(): TransactionInterface |
|
87 | } |
||
88 |