| Total Complexity | 3 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class GetField extends AbstractQuery |
||
| 14 | { |
||
| 15 | use AggregationTrait; |
||
| 16 | use OperationTrait; |
||
| 17 | use TransformationTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $field; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var QueryInterface|null |
||
| 26 | */ |
||
| 27 | private $query; |
||
| 28 | |||
| 29 | public function __construct( |
||
| 40 | } |
||
| 41 | |||
| 42 | public function toArray(): array |
||
| 66 |