Passed
Pull Request — master (#5)
by ANTHONIUS
02:39
created

AbstractSessionListener   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 40%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 9
ccs 2
cts 5
cp 0.4
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
4
namespace Doyo\Bridge\CodeCoverage\Listener;
5
6
7
use Doyo\Bridge\CodeCoverage\Session\SessionInterface;
8
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
9
10
abstract class AbstractSessionListener implements EventSubscriberInterface
11
{
12
    protected $session;
13
14 10
    public function __construct(
15
        SessionInterface $session
16
    )
17
    {
18 10
        $this->session = $session;
19
    }
20
21
}
22