| 1 | <?php |
||
| 16 | class ResultSetAdapter implements ResultSet { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * @var FacetSet |
||
| 21 | */ |
||
| 22 | protected $facets = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Document[] |
||
| 26 | */ |
||
| 27 | protected $results = array(); |
||
| 28 | |||
| 29 | public function setFacets(FacetSet $facets) { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * |
||
| 35 | * {@inheritDoc} |
||
| 36 | * |
||
| 37 | * @see \StingerSoft\EntitySearchBundle\Model\ResultSet::getFacets() |
||
| 38 | */ |
||
| 39 | public function getFacets() { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * |
||
| 45 | * {@inheritDoc} |
||
| 46 | * |
||
| 47 | * @see \StingerSoft\EntitySearchBundle\Model\ResultSet::getResults() |
||
| 48 | */ |
||
| 49 | public function getResults($offset = 0, $limit = null) { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param Document[] $results |
||
| 55 | */ |
||
| 56 | public function setResults(array $results){ |
||
| 59 | } |