Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait HasUuidKey |
||
9 | { |
||
10 | /** |
||
11 | * Get the auto-incrementing key type. |
||
12 | * |
||
13 | * @return string |
||
14 | */ |
||
15 | 1 | public function getKeyType() |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * Get the value indicating whether the IDs are incrementing. |
||
22 | * |
||
23 | * @return bool |
||
24 | */ |
||
25 | 6 | public function getIncrementing() |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * The "booting" method of the model. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | 7 | protected static function boot(): void |
|
50 |