protected function getBlameableAttributes()
    {
        return [
            ActiveRecord::EVENT_BEFORE_INSERT => [$this->createdByAttribute, $this->updatedByAttribute],
            ActiveRecord::EVENT_BEFORE_UPDATE => $this->updatedByAttribute,
        ];
    }
protected function getBlameableAttributes()
    {
        return [
            ActiveRecord::EVENT_BEFORE_INSERT => [$this->createdByAttribute, $this->updatedByAttribute],
            ActiveRecord::EVENT_BEFORE_UPDATE => $this->updatedByAttribute,
        ];
    }
protected function getBlameableAttributes ( ) { return [ ActiveRecord :: EVENT_BEFORE_INSERT => [ $ this -> createdByAttribute , $ this -> updatedByAttribute ] , ActiveRecord :: EVENT_BEFORE_UPDATE => $ this -> updatedByAttribute , ] ; }
Get default attributes for Blameable behavior.
If you need to set a custom attributes, just add a `blameableAttributes` field to your model.
@return array
Get default attributes for Blameable behavior . If you need to set a custom attributes just add a blameableAttributes field to your model .