Corcel\Traits\CreatedAtTrait::setCreatedAt PHP Method

setCreatedAt() public method

public setCreatedAt ( $value )
    public function setCreatedAt($value)
    {
        $field = static::CREATED_AT;
        $this->{$field} = $value;
        $field .= '_gmt';
        $this->{$field} = $value;
        return parent::setCreatedAt($value);
    }
CreatedAtTrait