1 | <?php |
||
19 | class PropelAdapter implements AdapterInterface |
||
20 | { |
||
21 | private $query; |
||
22 | |||
23 | /** |
||
24 | * Constructor. |
||
25 | * |
||
26 | * @param \ModelCriteria $query |
||
27 | */ |
||
28 | 3 | public function __construct($query) |
|
32 | |||
33 | /** |
||
34 | * Returns the query. |
||
35 | * |
||
36 | * @return \ModelCriteria |
||
37 | */ |
||
38 | 3 | public function getQuery() |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 1 | public function getNbResults() |
|
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | 1 | public function getSlice($offset, $length) |
|
68 | } |
||
69 |