Property | Type | Description | |
---|---|---|---|
$casts | array | The attributes that should be cast to native types. | |
$foreignKey | string | The foreign key name for the model. | |
$guarded | array | The attributes that aren't mass assignable. | |
$table | string | The table associated with the model. |
protected array $casts | ||
return | array |
protected string $foreignKey | ||
return | string |
protected array $guarded | ||
return | array |
protected string $table | ||
return | string |