Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace CirrusSearch\Hooks;
4
5use CirrusSearch\Query\SimpleKeywordFeature;
6use CirrusSearch\SearchConfig;
7
8/**
9 * This is a hook handler interface, see docs/Hooks.md in core.
10 * Use the hook name "CirrusSearchAddQueryFeatures" to register handlers implementing this interface.
11 *
12 * @stable to implement
13 * @ingroup Hooks
14 */
15interface CirrusSearchAddQueryFeaturesHook {
16    /**
17     * This hook is called to register new search keywords
18     * @param SearchConfig $config
19     * @param SimpleKeywordFeature[] &$extraFeatures
20     */
21    public function onCirrusSearchAddQueryFeatures( SearchConfig $config, array &$extraFeatures ): void;
22}