trait InteractsWithRecords (View source)

Properties

protected string|Closure|null $modelLabel
protected string|Closure|null $pluralModelLabel
protected Collection|Closure|null $records

Methods

records(Collection|Closure|null $records)

No description

modelLabel(string|Closure|null $label)

No description

pluralModelLabel(string|Closure|null $label)

No description

string
getModel()

No description

string
getModelLabel()

No description

string
getPluralModelLabel()

No description

Collection|null
getRecords()

No description

Details

InteractsWithRecords records(Collection|Closure|null $records)

No description

Parameters

Collection|Closure|null $records

Return Value

InteractsWithRecords

InteractsWithRecords modelLabel(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

InteractsWithRecords

InteractsWithRecords pluralModelLabel(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

InteractsWithRecords

string getModel()

No description

Return Value

string

string getModelLabel()

No description

Return Value

string

string getPluralModelLabel()

No description

Return Value

string

Collection|null getRecords()

No description

Return Value

Collection|null