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\Query\Builder;
4
5use CirrusSearch\Parser\AST\KeywordFeatureNode;
6use CirrusSearch\Search\Fetch\HighlightFieldGenerator;
7use CirrusSearch\SearchConfig;
8
9/**
10 * WIP: figure out what we need when building
11 * certainly some states built by some keyword
12 * or some classification of the query
13 */
14interface QueryBuildingContext {
15
16    /**
17     * @return SearchConfig
18     */
19    public function getSearchConfig();
20
21    /**
22     * @param KeywordFeatureNode $node
23     * @return array
24     */
25    public function getKeywordExpandedData( KeywordFeatureNode $node );
26
27    /**
28     * @return HighlightFieldGenerator
29     */
30    public function getHighlightFieldGenerator(): HighlightFieldGenerator;
31}