src/traits/BaseActionsInfoTrait.php
protected function getTimestampAttributes()
    {
        return [
            ActiveRecord::EVENT_BEFORE_INSERT => [$this->createdAtAttribute, $this->updatedAtAttribute],
            ActiveRecord::EVENT_BEFORE_UPDATE => $this->updatedAtAttribute,
        ];
    }
protected function getTimestampAttributes()
    {
        return [
            ActiveRecord::EVENT_BEFORE_INSERT => [$this->createdAtAttribute, $this->updatedAtAttribute],
            ActiveRecord::EVENT_BEFORE_UPDATE => $this->updatedAtAttribute,
        ];
    }
Get default attributes for Timestamp behavior.
If you need to set a custom attributes, just add a `timestampAttributes` field to your model.
@return array