Completed
Push — master ( 4cd93a...e8f4ec )
by Thomas Mauro
10:51
created

AdapterStub::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace AMQPAL\Adapter;
4
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)
16
    {
17
        $this->options = $options;
18
    }
19
20
    /**
21
     * @return ConnectionInterface
22
     */
23
    public function getConnection()
24
    {
25
        
26
    }
27
28
    /**
29
     * @param resource|null $resource
30
     * @return ChannelInterface
31
     */
32
    public function createChannel($resource = null)
33
    {
34
        
35
    }
36
}
37