class ClosingTransaction extends Model implements Segregatable, Recyclable

Class ClosingTransactions

Traits

Properties

protected array $fillable

The attributes that are mass assignable.

Entity $entity
collection $transactions
ReportingPeriod $reportingPeriod
Carbon $destroyed_at
Carbon $deleted_at

Methods

static void
bootSegregating()

Register EntityScope for Model.

HasOne
entity()

Model's Parent Entity.

static void
bootRecycling()

Model recycling events.

MorphMany
recycled()

Recycled Model records.

getTable()

Determine the model table name

string
toString($type = false)

Instance Identifier.

belongsTo
transaction()

Closing Transaction's Transaction.

belongsTo
currency()

Closing Transaction's Currency.

belongsTo
reportingPeriod()

Closing Transaction's Reporting Period.

object
attributes()

ClosingRate attributes.

Details

in Segregating at line 28
static void bootSegregating()

Register EntityScope for Model.

Return Value

void

at line 70
HasOne entity()

Model's Parent Entity.

Return Value

HasOne

in Recycling at line 28
static void bootRecycling()

Model recycling events.

Return Value

void

in Recycling at line 73
MorphMany recycled()

Recycled Model records.

Return Value

MorphMany

in ModelTablePrefix at line 22
getTable()

Determine the model table name

at line 58
string toString($type = false)

Instance Identifier.

Parameters

$type

Return Value

string

at line 80
belongsTo transaction()

Closing Transaction's Transaction.

Return Value

belongsTo

at line 90
belongsTo currency()

Closing Transaction's Currency.

Return Value

belongsTo

at line 100
belongsTo reportingPeriod()

Closing Transaction's Reporting Period.

Return Value

belongsTo

at line 110
object attributes()

ClosingRate attributes.

Return Value

object