| 1 | <?php |
||
| 14 | abstract class AbstractQueryVisitor { |
||
| 15 | |||
| 16 | protected $initialValue = 0; |
||
| 17 | |||
| 18 | protected $memo; |
||
| 19 | |||
| 20 | 2 | public function __construct() { |
|
| 23 | |||
| 24 | 2 | public function getMemo() { |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param array $args |
||
| 30 | * @param FieldConfig $fieldConfig |
||
| 31 | * @param int $childScore |
||
| 32 | * |
||
| 33 | * @return int|null |
||
| 34 | */ |
||
| 35 | abstract public function visit(array $args, FieldConfig $fieldConfig, $childScore = 0); |
||
| 36 | } |