| Total Complexity | 12 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 5 | ||
| Bugs | 0 | Features | 3 |
| 1 | <?php |
||
| 7 | trait DefinesColumns |
||
| 8 | { |
||
| 9 | 44 | public function getCodeColumn(): string |
|
| 10 | { |
||
| 11 | 44 | return 'code'; |
|
| 12 | } |
||
| 13 | |||
| 14 | 15 | public function getTypeColumn(): string |
|
| 15 | { |
||
| 16 | 15 | return 'type'; |
|
| 17 | } |
||
| 18 | |||
| 19 | 14 | public function getValueColumn(): string |
|
| 20 | { |
||
| 21 | 14 | return 'value'; |
|
| 22 | } |
||
| 23 | |||
| 24 | 28 | public function getQuantityColumn(): string |
|
| 25 | { |
||
| 26 | 28 | return 'quantity'; |
|
| 27 | } |
||
| 28 | |||
| 29 | 23 | public function getLimitColumn(): string |
|
| 30 | { |
||
| 31 | 23 | return 'limit'; |
|
| 32 | } |
||
| 33 | |||
| 34 | 32 | public function getExpiresAtColumn(): string |
|
| 35 | { |
||
| 36 | 32 | return 'expires_at'; |
|
| 37 | } |
||
| 38 | |||
| 39 | 34 | public function getIsEnabledColumn(): string |
|
| 40 | { |
||
| 41 | 34 | return 'is_enabled'; |
|
| 42 | } |
||
| 43 | |||
| 44 | 29 | public function getRedeemerTypeColumn(): string |
|
| 47 | } |
||
| 48 | |||
| 49 | 11 | public function getRedeemerIdColumn(): string |
|
| 50 | { |
||
| 51 | 11 | return 'redeemer_id'; |
|
| 52 | } |
||
| 53 | |||
| 54 | 1 | public function getDataColumn(): string |
|
| 55 | { |
||
| 56 | 1 | return 'data'; |
|
| 57 | } |
||
| 58 | |||
| 59 | 63 | public function getCreatedAtColumn(): string |
|
| 62 | } |
||
| 63 | |||
| 64 | 63 | public function getUpdatedAtColumn(): string |
|
| 67 | } |
||
| 68 | } |
||
| 69 |