trait HasUniqueIds (View source)

Properties

bool $usesUniqueIds

Indicates if the model uses unique ids.

Methods

bool
usesUniqueIds()

Determine if the model uses unique ids.

void
setUniqueIds()

Generate unique keys for the model.

string
newUniqueId()

Generate a new key for the model.

array
uniqueIds()

Get the columns that should receive a unique identifier.

Details

bool usesUniqueIds()

Determine if the model uses unique ids.

Return Value

bool

void setUniqueIds()

Generate unique keys for the model.

Return Value

void

string newUniqueId()

Generate a new key for the model.

Return Value

string

array uniqueIds()

Get the columns that should receive a unique identifier.

Return Value

array