| Total Complexity | 7 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class LazyQuery implements QueryInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | private $loadedQuery; |
||
| 15 | |||
| 16 | private $path; |
||
| 17 | |||
| 18 | private $parser; |
||
| 19 | |||
| 20 | private $astTranslator; |
||
| 21 | |||
| 22 | public function __construct(string $path, ParserInterface $parser, QueryAstTranslatorInterface $astTranslator) |
||
| 23 | { |
||
| 24 | $this->path = $path; |
||
| 25 | $this->parser = $parser; |
||
| 26 | $this->astTranslator = $astTranslator; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function __invoke(RuntimeInterface $runtime, NodeValueInterface $rootNode): ValueListInterface |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return bool |
||
| 36 | * @deprecated |
||
| 37 | */ |
||
| 38 | public function isDefinite(): bool |
||
| 39 | { |
||
| 40 | return $this |
||
| 41 | ->getProperties() |
||
| 42 | ->isDefinite(); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getProperties(): QueryPropertiesInterface |
||
| 50 | } |
||
| 51 | |||
| 52 | private function getLoadedQuery(): QueryInterface |
||
| 59 | } |
||
| 60 | |||
| 61 | private function loadQuery(): QueryInterface |
||
| 72 |