| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class ParserPartChildrenContainer extends PartChildrenContainer |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var ParserMimePartProxy The parser to proxy requests to when trying to |
||
| 22 | * get child parts. |
||
| 23 | */ |
||
| 24 | protected $parserProxy; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var bool Set to true once all parts have been parsed, and requests to |
||
| 28 | * the proxy won't result in any more child parts. |
||
| 29 | */ |
||
| 30 | private $allParsed = false; |
||
| 31 | |||
| 32 | 106 | public function __construct(ParserMimePartProxy $parserProxy) |
|
| 33 | { |
||
| 34 | 106 | parent::__construct([]); |
|
| 35 | 106 | $this->parserProxy = $parserProxy; |
|
| 36 | 106 | } |
|
| 37 | |||
| 38 | 103 | public function offsetExists($offset) |
|
| 51 | } |
||
| 52 | } |
||
| 53 |