| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function __construct(Message $message) |
||
| 15 | { |
||
| 16 | $appendIterator = new AppendIterator(); |
||
| 17 | $records = $message->getRecords(); |
||
| 18 | foreach ($records as $record) { |
||
| 19 | $appendIterator->append(new ArrayIterator($record->getEntries())); |
||
| 20 | } |
||
| 21 | |||
| 22 | parent::__construct($appendIterator); |
||
| 23 | } |
||
| 25 |