Methods |
public
|
touch(): bool
Update the model's update timestamp.
Update the model's update timestamp.
|
#
|
public
|
updateTimestamps(): void
Update the creation and update timestamps.
Update the creation and update timestamps.
|
#
|
public
|
setCreatedAt(mixed $value): $this
Set the value of the "created at" attribute.
Set the value of the "created at" attribute.
|
#
|
public
|
setUpdatedAt(mixed $value): $this
Set the value of the "updated at" attribute.
Set the value of the "updated at" attribute.
|
#
|
public
|
freshTimestamp(): Carbon
Get a fresh timestamp for the model.
Get a fresh timestamp for the model.
|
#
|
public
|
freshTimestampString(): string
Get a fresh timestamp for the model.
Get a fresh timestamp for the model.
|
#
|
public
|
usesTimestamps(): bool
Determine if the model uses timestamps.
Determine if the model uses timestamps.
|
#
|
public
|
getCreatedAtColumn(): string|null
Get the name of the "created at" column.
Get the name of the "created at" column.
|
#
|
public
|
getUpdatedAtColumn(): string|null
Get the name of the "updated at" column.
Get the name of the "updated at" column.
|
#
|
public
|
getQualifiedCreatedAtColumn(): string|null
Get the fully qualified "created at" column.
Get the fully qualified "created at" column.
|
#
|
public
|
getQualifiedUpdatedAtColumn(): string|null
Get the fully qualified "updated at" column.
Get the fully qualified "updated at" column.
|
#
|