PartChildrenContainerFactory::newInstance()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
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\Message\Factory;
9
10
use ZBateson\MailMimeParser\Message\PartChildrenContainer;
11
12
/**
13
 * Creates PartChildrenContainer instances.
14
 *
15
 * @author Zaahid Bateson
16
 */
17
class PartChildrenContainerFactory
18
{
19 18
    public function newInstance() : PartChildrenContainer
20
    {
21 18
        return new PartChildrenContainer();
22
    }
23
}
24