Completed
Push — master ( a70ca2...b8c2a5 )
by Daniel
14:22
created

MatcherDumper   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getMethods() 0 4 1
1
<?php
2
3
namespace Cmobi\RabbitmqBundle\Routing\Matcher\Dumper;
4
5
use Cmobi\RabbitmqBundle\Routing\MethodCollection;
6
7
abstract class MatcherDumper
8
{
9
10
    private $methods;
11
12
    public function __construct(MethodCollection $method)
13
    {
14
        $this->methods = $method;
15
    }
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function getMethods()
21
    {
22
        return $this->methods;
23
    }
24
}
25