trait HasTimestamps

Creates the $created_at and $updated_at fields and performs the operation that updates timestamps.

Properties

$created_at

Time record was created.

string $updated_at

Time record was updated.

Methods

void
timeStamps()

Sets values for timestamp fields.

Details

at line 28
void timeStamps()

Sets values for timestamp fields.

Return Value

void