| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ColumnRelation { |
||
| 10 | |||
| 11 | /** @var string */ |
||
| 12 | public $name; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | public $aggregate = 'first'; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | public $attributeName; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Relation constructor. |
||
| 22 | * @param string $columnName |
||
| 23 | * @internal param string $name |
||
| 24 | */ |
||
| 25 | 6 | public function __construct(string $columnName) |
|
| 29 | 6 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $name |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | 6 | private function _extractAggregate(string $name) : string |
|
| 48 | } |
||
| 49 | } |