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\Search\Rescore\BoostFunctionBuilder;
6use CirrusSearch\Search\SearchContext;
7
8/**
9 * This is a hook handler interface, see docs/Hooks.md in core.
10 * Use the hook name "CirrusSearchScoreBuilder" to register handlers implementing this interface.
11 *
12 * @stable to implement
13 * @ingroup Hooks
14 */
15interface CirrusSearchScoreBuilderHook {
16    /**
17     * @param array $definition
18     * @param SearchContext $context
19     * @param BoostFunctionBuilder|null &$builder
20     */
21    public function onCirrusSearchScoreBuilder( array $definition, SearchContext $context, ?BoostFunctionBuilder &$builder ): void;
22}