Passed
Push — master ( 46ed75...ca2387 )
by Zaahid
03:33
created

__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 9
ccs 5
cts 5
cp 1
rs 10
cc 1
nc 1
nop 3
crap 1
1
<?php
2
/**
3
 * This file is part of the ZBateson\MailMimeParser project.
4
 *
5
 * @license http://opensource.org/licenses/bsd-license.php BSD
6
 */
7
8
namespace ZBateson\MailMimeParser\Header\Consumer;
9
10
use ZBateson\MailMimeParser\Header\Part\MimeLiteralPartFactory;
11
12
/**
13
 * GenericConsumerMimeLiteralPartService uses a MimeLiteralPartFactory instead
14
 * of a HeaderPartFactory.
15
 *
16
 * @author Zaahid Bateson
17
 */
18
class GenericConsumerMimeLiteralPartService extends GenericConsumerService
19
{
20 2
    public function __construct(
21
        MimeLiteralPartFactory $partFactory,
22
        CommentConsumerService $commentConsumerService,
23
        QuotedStringConsumerService $quotedStringConsumerService
24
    ) {
25 2
        parent::__construct(
26 2
            $partFactory,
27 2
            $commentConsumerService,
28 2
            $quotedStringConsumerService
29 2
        );
30
    }
31
}
32