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

GenericConsumerMimeLiteralPartService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 11
ccs 5
cts 5
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 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