Total Complexity | 1 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
14 | abstract class Suggester implements \Suilven\FreeTextSearch\Interfaces\Suggester |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $index; |
||
18 | |||
19 | abstract public function suggest(string $q, int $limit = 5): SuggesterResults; |
||
20 | |||
21 | |||
22 | public function setIndex(string $newIndex): void |
||
27 |