Completed
Push — master ( 95e46b...dd0453 )
by Edgar
04:26 queued 01:47
created

AbstractHandler   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __constructor() 0 4 1
A getParser() 0 4 1
A run() 0 1 1
1
<?php
2
3
namespace Inbounder;
4
5
use Inbounder\Parsers\AbstractParser;
6
7
abstract class AbstractHandler
8
{
9
    protected $parser;
10
11
    public function __constructor(AbstractParser $parser)
12
    {
13
        $this->parser = $parser;
14
    }
15
16
    public function getParser()
17
    {
18
        return $this->parser;
19
    }
20
21
    public function run();
0 ignored issues
show
Coding Style introduced by
Possible parse error: non-abstract method defined as abstract
Loading history...
22
}
23