| 1 | <?php |
||
| 8 | class MaxComplexityQueryVisitor extends AbstractQueryVisitor { |
||
| 9 | |||
| 10 | public $maxScore; |
||
| 11 | |||
| 12 | protected $defaultScore = 1; |
||
| 13 | |||
| 14 | 1 | public function __construct($max) { |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @param array $args |
||
| 22 | * @param FieldConfig $fieldConfig |
||
| 23 | * @param int $childScore |
||
| 24 | * |
||
| 25 | * @return mixed |
||
| 26 | * @throws \Exception |
||
| 27 | */ |
||
| 28 | 1 | public function visit(array $args, FieldConfig $fieldConfig, $childScore = 0) { |
|
| 40 | } |