Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 42.86% |
Changes | 0 |
1 | <?php |
||
8 | class AMQPLazySocketConnection extends AMQPSocketConnection |
||
9 | { |
||
10 | /** |
||
11 | * @inheritDoc |
||
12 | */ |
||
13 | 2 | public function connectOnConstruct(): bool |
|
14 | { |
||
15 | 2 | return false; |
|
16 | } |
||
17 | 2 | ||
18 | /** |
||
19 | * @param string[][] $hosts |
||
20 | * @param string[] $options |
||
21 | * @return self |
||
22 | * @throws \Exception |
||
23 | * @deprecated Use ConnectionFactory |
||
24 | */ |
||
25 | public static function create_connection($hosts, $options = array()) |
||
32 | } |
||
33 | } |
||
34 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.