GuardsAttributes
 trait Winter\Storm\Database\Concerns\GuardsAttributesMethods
public isGuarded (string $key) : bool
Determine if the given key is guarded.
This is an override of https://github.com/laravel/framework/commit/897d107775737a958dbd0b2f3ea37877c7526371
and allows fields that don't exist in the database to be filled if they aren't specified as "guarded", under
the pretense that they are handled in a special manner - ie. in the beforeSave event.
| Property | Type | Description | 
|---|---|---|
| $key | string | string | 
Used by
| Class | Description | 
|---|---|
| File | File attachment model | 
| Parameter | Parameters model Used for storing internal application parameters. | 
| Revision | Revision history model | 
| User | Administrator user model | 
| UserGroup | Administrator group | 
| UserPreference | All preferences for the backend user | 
| UserRole | Administrator role | 
| UserThrottle | Administrator throttling model | 
| Group | Group model | 
| Preferences | User Preferences model | 
| Role | Role model | 
| Throttle | Throttle model | 
| User | User model | 
| File | File attachment model | 
| Model | Active Record base class. | 
| DeferredBinding | Deferred Binding Model | 
| Revision | Revision Model | 
| MorphPivot | Reimplementation of \Illuminate\Database\Eloquent\Relations\MorphPivot but extends Winter's Pivot base class instead of Laravel's to get access to Winter magic. | 
| Pivot |