1 | <?php |
||
5 | class AdapterStub implements AdapterInterface |
||
6 | { |
||
7 | |||
8 | public $options; |
||
9 | |||
10 | /** |
||
11 | * PhpAmqpLib constructor. |
||
12 | * |
||
13 | * @param array|\Traversable $options |
||
14 | */ |
||
15 | public function __construct($options) |
||
19 | |||
20 | /** |
||
21 | * @return ConnectionInterface |
||
22 | */ |
||
23 | public function getConnection() |
||
27 | |||
28 | /** |
||
29 | * @param resource|null $resource |
||
30 | * @return ChannelInterface |
||
31 | */ |
||
32 | public function createChannel($resource = null) |
||
36 | } |
||
37 |