Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | abstract class AbstractParser implements IParser |
||
17 | { |
||
18 | protected $parserMessageProxyFactory; |
||
19 | |||
20 | protected $parserPartProxyFactory; |
||
21 | |||
22 | /** |
||
23 | * @var ParserManager |
||
24 | */ |
||
25 | protected $parserManager; |
||
26 | |||
27 | public function __construct( |
||
28 | ParserPartProxyFactory $parserMessageProxyFactory, |
||
29 | ParserPartProxyFactory $parserPartProxyFactory |
||
30 | ) { |
||
31 | $this->parserMessageProxyFactory = $parserMessageProxyFactory; |
||
32 | $this->parserPartProxyFactory = $parserPartProxyFactory; |
||
33 | } |
||
34 | |||
35 | public function setParserManager(ParserManager $pm) |
||
38 | } |
||
39 | |||
40 | public function getParserMessageProxyFactory() |
||
41 | { |
||
42 | return $this->parserMessageProxyFactory; |
||
43 | } |
||
44 | |||
45 | public function getParserPartProxyFactory() |
||
48 | } |
||
49 | } |
||
50 |