Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | trait HasSettingsTable |
||
18 | { |
||
19 | use HasSettings; |
||
20 | |||
21 | /** |
||
22 | * @return \Glorand\Model\Settings\Contracts\SettingsManagerContract |
||
23 | * @throws \Glorand\Model\Settings\Exceptions\ModelSettingsException |
||
24 | */ |
||
25 | 7 | public function settings(): SettingsManagerContract |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | */ |
||
33 | 7 | public function getSettingsValue(): array |
|
39 | } |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return \Illuminate\Database\Eloquent\Relations\MorphOne |
||
44 | */ |
||
45 | 7 | public function modelSettings(): MorphOne |
|
50 |