| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 14 | class Suggester extends \Suilven\FreeTextSearch\Base\Suggester implements \Suilven\FreeTextSearch\Interfaces\Suggester |
||
| 15 | { |
||
| 16 | /** @var \Suilven\ManticoreSearch\Service\Client */ |
||
| 17 | private $client; |
||
| 18 | |||
| 19 | public function __construct() |
||
| 20 | { |
||
| 21 | $this->client = new Client(); |
||
| 22 | } |
||
| 23 | |||
| 24 | |||
| 25 | public function suggest(string $q, int $limit = 5): SuggesterResults |
||
| 40 | } |
||
| 41 | } |
||
| 42 |