Total Complexity | 5 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
18 | class Nested implements Query |
||
19 | { |
||
20 | use |
||
21 | Traits\IgnoreUnmapped, |
||
22 | Traits\ScoreMode |
||
23 | ; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $path; |
||
29 | |||
30 | /** |
||
31 | * @var Query |
||
32 | */ |
||
33 | private $query; |
||
34 | |||
35 | /** |
||
36 | * @param string $path |
||
37 | * @param Query $query |
||
38 | */ |
||
39 | public function __construct(string $path, Query $query) |
||
40 | { |
||
41 | $this->path = $path; |
||
42 | $this->query = $query; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function name(): string |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function compile(): array |
||
74 |