| Total Complexity | 5 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait SearchResultGetTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $totalItems; |
||
| 16 | |||
| 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 | * @var string |
||
| 34 | */ |
||
| 35 | protected $collatedSpellcheck; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return ArrayData |
||
| 39 | */ |
||
| 40 | public function getFacets(): ArrayData |
||
| 41 | { |
||
| 42 | return $this->facets; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getCollatedSpellcheck() |
||
| 49 | { |
||
| 50 | return $this->collatedSpellcheck; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return Highlighting|null |
||
| 55 | */ |
||
| 56 | public function getHighlight(): ?Highlighting |
||
| 57 | { |
||
| 58 | return $this->highlight; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return ArrayList |
||
| 63 | */ |
||
| 64 | public function getSpellcheck(): ArrayList |
||
| 65 | { |
||
| 66 | return $this->spellcheck; |
||
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return int |
||
| 71 | */ |
||
| 72 | public function getTotalItems(): int |
||
| 75 | } |
||
| 76 | } |
||
| 77 |