| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class DisMaxQuery extends QueryAbstract implements HasBoostOption |
||
| 14 | { |
||
| 15 | use BoostOption; |
||
| 16 | |||
| 17 | const NAME = 'dis_max'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var QueryCollection |
||
| 21 | */ |
||
| 22 | private $queries; |
||
| 23 | |||
| 24 | protected function get_queries(): QueryCollection |
||
| 25 | { |
||
| 26 | return $this->queries; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function __construct() |
||
| 33 | } |
||
| 34 | |||
| 35 | public function tie_breaker(float $tie_breaker) |
||
| 40 | } |
||
| 41 | |||
| 42 | public function jsonSerialize() |
||
| 51 |