1 | <?php |
||
2 | |||
3 | namespace OldSound\RabbitMqBundle\Tests\RabbitMq\Fixtures; |
||
4 | |||
5 | use PhpAmqpLib\Connection\AMQPStreamConnection; |
||
6 | |||
7 | class AMQPConnection extends AMQPStreamConnection |
||
8 | { |
||
9 | public $constructParams; |
||
10 | |||
11 | public static $createConnectionParams; |
||
12 | |||
13 | public function __construct() |
||
14 | { |
||
15 | // save params for direct access in tests |
||
16 | $this->constructParams = func_get_args(); |
||
17 | } |
||
18 | |||
19 | public static function create_connection($hosts, $options = []) |
||
20 | { |
||
21 | // save params for direct access in tests |
||
22 | self::$createConnectionParams = func_get_args(); |
||
23 | |||
24 | return parent::create_connection($hosts, $options); |
||
0 ignored issues
–
show
|
|||
25 | } |
||
26 | } |
||
27 |
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.