Completed
Push — master ( d49b5b...4e7074 )
by Eric
08:11
created

RegisterListenerPass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 11
ccs 7
cts 7
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
/*
4
 * This file is part of the Ivory Serializer bundle package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\SerializerBundle\DependencyInjection\Compiler;
13
14
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass as AbstractRegisterListenerPass;
15
16
/**
17
 * @author GeLo <[email protected]>
18
 */
19
class RegisterListenerPass extends AbstractRegisterListenerPass
20
{
21 234
    public function __construct()
22
    {
23 234
        parent::__construct(
24 234
            'ivory.serializer.event.dispatcher',
25 234
            'ivory.serializer.listener',
26 52
            'ivory.serializer.subscriber'
27 182
        );
28 234
    }
29
}
30