Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class PrimaryKey extends BasicKey |
||
8 | { |
||
9 | #[\Override] |
||
10 | protected function addKey($constraint) |
||
11 | { |
||
12 | $this->getChangeLogger()->addPrimaryKey($constraint); |
||
|
|||
13 | } |
||
14 | |||
15 | #[\Override] |
||
16 | protected function doesKeyExist($constraint) |
||
17 | { |
||
18 | return $this->getChangeLogger()->doesPrimaryKeyExist($constraint); |
||
19 | } |
||
20 | |||
21 | #[\Override] |
||
22 | protected function dropKey($constraint) |
||
23 | { |
||
24 | $this->getChangeLogger()->dropPrimaryKey($constraint); |
||
25 | } |
||
26 | |||
27 | #[\Override] |
||
31 | } |
||
32 | |||
33 | public function autoIncrement() |
||
48 | } |
||
49 | } |
||
50 |