| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class TableConstraint |
||
| 18 | { |
||
| 19 | public function __construct( |
||
| 20 | private readonly string $foreignTableName, |
||
| 21 | private readonly string $localColumnName, |
||
| 22 | private readonly string $foreignColumnName, |
||
| 23 | ) { |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getForeignTableName(): string |
||
| 27 | { |
||
| 28 | return $this->foreignTableName; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getLocalColumnName(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getForeignColumnName(): string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |