Test Failed
Push — 2.0 ( 9e8731...0b4092 )
by Zaahid
03:06
created

ParserPartChildrenContainerFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

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\Parser\Part;
8
9
use ZBateson\MailMimeParser\Parser\Proxy\ParserMimePartProxy;
10
11
/**
12
 * Creates ParserPartChildrenContainer instances.
13
 *
14
 * @author Zaahid Bateson
15
 */
16
class ParserPartChildrenContainerFactory
17
{
18
    public function newInstance(ParserMimePartProxy $parserProxy)
19
    {
20
        return new ParserPartChildrenContainer($parserProxy);
21
    }
22
}
23