Completed
Push — master ( 5fca0d...2a987b )
by Quim
02:16
created

ConsumeConfig   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 35
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
A getNoLocal() 0 4 1
A getNoAck() 0 4 1
A getExclusive() 0 4 1
A getNoWait() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: quimmanrique
5
 * Date: 13/02/17
6
 * Time: 16:14
7
 */
8
9
namespace Cmp\Queues\Infrastructure\AmqpLib\v26\RabbitMQ\Queue\Config;
10
11
class ConsumeConfig
12
{
13
    protected $noLocal;
14
    protected $noAck;
15
    protected $exclusive;
16
    protected $noWait;
17
18
    public function __construct($noLocal, $noAck, $exclusive, $noWait)
19
    {
20
        $this->noLocal = $noLocal;
21
        $this->noAck = $noAck;
22
        $this->exclusive = $exclusive;
23
        $this->noWait = $noWait;
24
    }
25
26
    public function getNoLocal()
27
    {
28
        return $this->noLocal;
29
    }
30
31
    public function getNoAck()
32
    {
33
        return $this->noAck;
34
    }
35
36
    public function getExclusive()
37
    {
38
        return $this->exclusive;
39
    }
40
41
    public function getNoWait()
42
    {
43
        return $this->noWait;
44
    }
45
}