GenericConsumerMimeLiteralPartService   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 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 Psr\Log\LoggerInterface;
11
use ZBateson\MailMimeParser\Header\Part\MimeTokenPartFactory;
12
13
/**
14
 * GenericConsumerMimeLiteralPartService uses a MimeTokenPartFactory instead
15
 * of a HeaderPartFactory.
16
 *
17
 * @author Zaahid Bateson
18
 */
19
class GenericConsumerMimeLiteralPartService extends GenericConsumerService
20
{
21 4
    public function __construct(
22
        LoggerInterface $logger,
23
        MimeTokenPartFactory $partFactory,
24
        CommentConsumerService $commentConsumerService,
25
        QuotedStringConsumerService $quotedStringConsumerService
26
    ) {
27 4
        parent::__construct(
28 4
            $logger,
29 4
            $partFactory,
30 4
            $commentConsumerService,
31 4
            $quotedStringConsumerService
32 4
        );
33
    }
34
}
35