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

AdapterStub   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 3
c 1
b 1
f 0
lcom 0
cbo 0
dl 0
loc 32
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getConnection() 0 4 1
A createChannel() 0 4 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