Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
Setting | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace App\Http\Models; |
4 | |
5 | use App\Observers\SettingObserver; |
6 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
7 | use Illuminate\Database\Eloquent\Attributes\ObservedBy; |
8 | use Illuminate\Notifications\Notifiable; |
9 | |
10 | #[ObservedBy([SettingObserver::class])] |
11 | class Setting extends Moloquent |
12 | { |
13 | use Notifiable; |
14 | /** |
15 | * The table associated with the model. |
16 | * |
17 | * @var string |
18 | */ |
19 | protected $table = 'settings'; |
20 | |
21 | /** |
22 | * The attributes that are mass assignable. |
23 | * |
24 | * @var array |
25 | */ |
26 | protected $fillable = [ |
27 | 'shortcut_timeout', |
28 | 'shortcut_version', |
29 | 'blocked_domains', |
30 | 'fly_grammar_blocked_domains', |
31 | 'fly_rewrite_blocked_domains', |
32 | 'user_id', |
33 | 'words_per_minute', |
34 | 'wage_per_hour', |
35 | 'typing_style', |
36 | 'typing_speed', |
37 | 'wage_per_hour_history', |
38 | 'override_user_wage_per_hour', |
39 | 'override_user_typing_style', |
40 | 'override_user_flygrammar', |
41 | 'override_user_flyrewrite', |
42 | 'fly_grammar', |
43 | 'fly_rewrite', |
44 | 'company_id', |
45 | 'fly_grammar_default_language', |
46 | 'fly_grammar_settings', |
47 | 'upgrade_coupon_order_displayed', |
48 | 'is_global', |
49 | 'features', |
50 | 'playlists', |
51 | 'ignoredInputTypes', |
52 | 'blackListClasses', |
53 | 'blackListIds', |
54 | 'blackListAttributes', |
55 | 'blackListDomainRules', |
56 | 'remove_grammar_on_lose_focus', |
57 | 'custom_prompts_order_flyengage', |
58 | 'custom_prompts_order_flypost', |
59 | 'custom_fly_write_order', |
60 | ]; |
61 | } |