| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 51 | public function getSlice($offset, $length) |
||
| 52 | { |
||
| 53 | $list = new LimitIterator( |
||
| 54 | $this->iterator, |
||
| 55 | $offset, |
||
| 56 | $length |
||
| 57 | ); |
||
| 58 | $result = []; |
||
| 59 | foreach ($list as $file) { |
||
| 60 | /** @var SplFileInfo $file */ |
||
| 61 | $result[] = $this->dataLayer->retrieve($this->resourceClass, $file->getBasename(), $this->context); |
||
| 62 | } |
||
| 63 | return $result; |
||
| 64 | } |
||
| 66 |