Property | Type | Description | |
---|---|---|---|
$appends | array | The accessors to append to the model's array form. | |
$fillable | array | The attributes that are mass assignable. | |
$primaryKey | string | The primary key of the model. | |
$table | string | The database table used by the model. |
Method | Description | |
---|---|---|
get ( string $name ) : string | array | Gets option field by its name. | |
getAll ( ) : array | Gets all the options. | |
getValueAttribute ( ) : value | Gets the value. |
public getValueAttribute ( ) : value | ||
return | value |
protected array $appends | ||
return | array |
protected array $fillable | ||
return | array |
protected string $primaryKey | ||
return | string |
protected string $table | ||
return | string |