| 1 | <?php |
||
| 21 | class MandangoAdapter implements AdapterInterface |
||
| 22 | { |
||
| 23 | private $query; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | * |
||
| 28 | * @param Query $query The query. |
||
| 29 | */ |
||
| 30 | 3 | public function __construct(Query $query) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Returns the query. |
||
| 37 | * |
||
| 38 | * @return Query The query. |
||
| 39 | */ |
||
| 40 | 1 | public function getQuery() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | 1 | public function getNbResults() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | 1 | public function getSlice($offset, $length) |
|
| 60 | } |
||
| 61 |