Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
64 | public function getSlice($offset, $length) |
||
65 | { |
||
66 | $searchFilterRequest = new SearchFilterRequest( |
||
67 | $offset, |
||
68 | $length, |
||
69 | $this->searches |
||
70 | ); |
||
71 | |||
72 | return array_map( |
||
73 | function ($id) { |
||
74 | return $this->dataLayer->retrieve($this->resourceClass, $id, $this->context); |
||
75 | }, |
||
76 | SearchFilterHelper::applySearchFilter($this->idList, $searchFilterRequest, $this->propertyAccessor) |
||
77 | ); |
||
80 |