ExchangeRate
class ExchangeRate extends Model implements Segregatable, Recyclable
Class ExchangeRate
Traits
Properties
| protected array | $fillable | The attributes that are mass assignable. |
|
| Entity | $entity | ||
| Currency | $currency | ||
| Carbon | $valid_from | ||
| Carbon | $valid_to | ||
| float | $rate | ||
| Carbon | $destroyed_at | ||
| Carbon | $deleted_at |
Methods
string
toString($type = false)
Instance Identifier.
BelongsTo
currency()
Exchange Rate Currency.
object
attributes()
ExchangeRate attributes
bool
save(array $options = [])
ExchangeRate Validation.
Details
in
Segregating at line 28
static void
bootSegregating()
Register EntityScope for Model.
in
Segregating at line 46
BelongsTo
entity()
Model's Parent Entity.
in
Recycling at line 28
static void
bootRecycling()
Model recycling events.
in
Recycling at line 73
MorphMany
recycled()
Recycled Model records.
in
ModelTablePrefix at line 22
getTable()
Determine the model table name
at line 61
string
toString($type = false)
Instance Identifier.
at line 73
BelongsTo
currency()
Exchange Rate Currency.
at line 83
object
attributes()
ExchangeRate attributes
at line 91
bool
save(array $options = [])
ExchangeRate Validation.