Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class NonMimeParserFactory implements IParserFactory |
||
18 | { |
||
19 | /** |
||
20 | * @var PartBuilderFactory |
||
21 | */ |
||
22 | protected $partBuilderFactory; |
||
23 | |||
24 | /** |
||
25 | * @var ParserUUEncodedPartFactory for ParsedMimePart objects |
||
26 | */ |
||
27 | protected $parserUuEncodedPartFactory; |
||
28 | |||
29 | public function __construct( |
||
30 | PartBuilderFactory $pbf, |
||
31 | ParserUUEncodedPartFactory $f |
||
32 | ) { |
||
33 | $this->partBuilderFactory = $pbf; |
||
34 | $this->parserUuEncodedPartFactory = $f; |
||
35 | } |
||
36 | |||
37 | public function newInstance() |
||
43 | ); |
||
44 | } |
||
45 | |||
46 | public function canParse(PartHeaderContainer $messageHeaders) |
||
50 | } |
||
51 | } |
||
52 |