DateCreated
Set current time for date created.
Change default date created attribute in model class protected $dateCreatedColumn = 'db column name';
Table of Contents
Methods
- bootDateCreated() : void
- Set model events
- getDateCreatedAttributeName() : string
- Get date created attribute
Methods
bootDateCreated()
Set model events
public
static bootDateCreated() : void
getDateCreatedAttributeName()
Get date created attribute
public
getDateCreatedAttributeName() : string