| Total Complexity | 3 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | trait SearchResultSetTrait |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | protected $totalItems; |
||
| 17 | /** |
||
| 18 | * @var ArrayData |
||
| 19 | */ |
||
| 20 | protected $facets; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Highlighting |
||
| 24 | */ |
||
| 25 | protected $highlight; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var ArrayList |
||
| 29 | */ |
||
| 30 | protected $spellcheck; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param $highlight |
||
| 34 | * @return SearchResult |
||
| 35 | */ |
||
| 36 | public function setHighlight($highlight): self |
||
| 37 | { |
||
| 38 | $this->highlight = $highlight; |
||
| 39 | |||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param $check |
||
| 45 | * @return SearchResult |
||
| 46 | */ |
||
| 47 | public function setSpellcheck($check): self |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $count |
||
| 56 | * @return self |
||
| 57 | */ |
||
| 58 | public function setTotalItems($count): self |
||
| 63 | } |
||
| 64 | } |
||
| 65 |