| 1 | <?php |
||
| 13 | class Index extends LuceneIndex |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Index constructor. |
||
| 17 | * @param Repository $config |
||
| 18 | */ |
||
| 19 | 21 | public function __construct(Filter $filter, Repository $config, Filesystem $filesystem) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $filters |
||
| 29 | */ |
||
| 30 | 21 | private function addFilters(array $filters = [], Filesystem $filesystem) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param $switch |
||
| 39 | * @param $filter |
||
| 40 | * @param Filesystem $filesystem |
||
| 41 | */ |
||
| 42 | 21 | private function handleFilter($switch, $filter, Filesystem $filesystem) |
|
| 50 | } |
||
| 51 |