Passed
Pull Request — master (#171)
by Zaahid
07:22 queued 03:34
created

PartChildrenContainerFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A newInstance() 0 3 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
namespace ZBateson\MailMimeParser\Message\Factory;
8
9
use ZBateson\MailMimeParser\Message\PartChildrenContainer;
10
11
/**
12
 * Creates PartChildrenContainer instances.
13
 *
14
 * @author Zaahid Bateson
15
 */
16
class PartChildrenContainerFactory
17
{
18 17
    public function newInstance()
19
    {
20 17
        return new PartChildrenContainer();
21
    }
22
}
23