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

RegisterListenerPass::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
ccs 7
cts 7
cp 1
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
crap 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