MapResult   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 42
ccs 11
cts 11
cp 1
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 4 1
A getMethod() 0 4 1
A getUrl() 0 4 1
A __construct() 0 6 1
1
<?php
2
3
namespace mcorten87\rabbitmq_api\objects;
4
5
class MapResult
6
{
7
    /**
8
     * @var Method
9
     */
10
    private $method;
11
12
    /** @return Method */
13 62
    public function getMethod()
14
    {
15 62
        return $this->method;
16
    }
17
18
    /**
19
     * @var Url
20
     */
21
    private $url;
22
23
    /** @return Url */
24 62
    public function getUrl()
25
    {
26 62
        return $this->url;
27
    }
28
29
    /**
30
     * @var array
31
     */
32
    private $config;
33
34
    /** @return array */
35 49
    public function getConfig()
36
    {
37 49
        return $this->config;
38
    }
39
40 64
    public function __construct(Method $method, Url $url, array $config)
41
    {
42 64
        $this->method = $method;
43 64
        $this->url = $url;
44 64
        $this->config = $config;
45 64
    }
46
}
47