| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Grouping extends AbstractSelect implements ExprInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $fieldName; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $targetName; |
||
| 18 | |||
| 19 | 4 | public function __construct(string $fieldName, string $targetName) |
|
| 20 | { |
||
| 21 | 4 | $this->fieldName = $fieldName; |
|
| 22 | 4 | $this->targetName = $targetName; |
|
| 23 | 4 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | 4 | protected function getSelectPart(): string |
|
| 31 | } |
||
| 32 | } |
||
| 33 |