Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | trait DefinesPivotColumns |
||
8 | { |
||
9 | /** |
||
10 | * @return string |
||
11 | */ |
||
12 | 21 | public function getRedeemedAtColumn(): string |
|
13 | { |
||
14 | 21 | return 'redeemed_at'; |
|
15 | } |
||
16 | |||
17 | /** |
||
18 | * @return string |
||
19 | */ |
||
20 | 21 | public function getRedeemedTypeColumn(): string |
|
21 | { |
||
22 | 21 | return 'redeemed_type'; |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | 21 | public function getRedeemedIdColumn(): string |
|
29 | { |
||
30 | 21 | return 'redeemed_id'; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | 23 | public function getCreatedAtColumn(): string |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | 23 | public function getUpdatedAtColumn(): string |
|
47 | } |
||
48 | } |
||
49 |