1 | <?php |
||
12 | class TransformedPaginatorAdapter extends RawPaginatorAdapter |
||
13 | { |
||
14 | private $transformer; |
||
15 | |||
16 | /** |
||
17 | * @param SearchableInterface $searchable the object to search in |
||
18 | * @param Query $query the query to search |
||
19 | * @param array $options |
||
20 | * @param ElasticaToModelTransformerInterface $transformer the transformer for fetching the results |
||
21 | */ |
||
22 | 1 | public function __construct(SearchableInterface $searchable, Query $query, array $options = array(), ElasticaToModelTransformerInterface $transformer) |
|
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | */ |
||
32 | public function getResults($offset, $length) |
||
36 | } |
||
37 |