Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class Query implements QueryInterface |
||
12 | { |
||
13 | |||
14 | private $callback; |
||
15 | |||
16 | private $properties; |
||
17 | |||
18 | public function __construct(callable $callback, QueryPropertiesInterface $properties) |
||
22 | } |
||
23 | |||
24 | public function __invoke(RuntimeInterface $runtime, NodeValueInterface $rootNode): ValueListInterface |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return bool |
||
31 | * @deprecated |
||
32 | */ |
||
33 | public function isDefinite(): bool |
||
34 | { |
||
35 | return $this->properties->isDefinite(); |
||
36 | } |
||
37 | |||
38 | public function getProperties(): QueryPropertiesInterface |
||
41 | } |
||
42 | } |
||
43 |