GuardsAttributes
trait GuardsAttributes
Properties
protected array | $fillable | The attributes that are mass assignable. |
Methods
array
getFillable()
Get the fillable attributes for the model.
$this
fillable(array $fillable)
Set the fillable attributes for the model.
array
fillableFromArray(array $attributes)
Get the fillable attributes of a given array.
bool
isFillable(string $key)
Determine if the given attribute may be mass assigned.
Details
at line 21
array
getFillable()
Get the fillable attributes for the model.
at line 33
$this
fillable(array $fillable)
Set the fillable attributes for the model.
at line 47
protected array
fillableFromArray(array $attributes)
Get the fillable attributes of a given array.
at line 65
bool
isFillable(string $key)
Determine if the given attribute may be mass assigned.