Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | trait AdmineticUser |
||
14 | { |
||
15 | use HasPreference, HasRole, HasSlack, LogsActivity; |
||
16 | |||
17 | // Forget cache on updating or saving and deleting |
||
18 | public static function boot() |
||
28 | }); |
||
29 | } |
||
30 | |||
31 | // Cache Keys |
||
32 | private static function cacheKey() |
||
35 | } |
||
36 | |||
37 | // Logs |
||
38 | protected static $logName = 'user'; |
||
39 | |||
40 | public function getActivitylogOptions(): LogOptions |
||
41 | { |
||
42 | return LogOptions::defaults(); |
||
43 | } |
||
44 | |||
45 | // Relations |
||
46 | |||
47 | public function profile() |
||
50 | } |
||
51 | } |
||
52 |