Property | Type | Description | |
---|---|---|---|
$casts | array | The attributes that should be cast to native types. | |
$fillable | array | The attributes that are mass assignable. |
Method | Description | |
---|---|---|
__construct ( array $attributes = [] ) | Constructor. |
public __construct ( array $attributes = [] ) | ||
$attributes | array |
protected array $casts | ||
return | array |
protected array $fillable | ||
return | array |