bedezign\yii2\audit\AuditTrailBehavior::cleanAttributes PHP Method

cleanAttributes() protected method

Clean attributes of fields that are not allowed or ignored.
protected cleanAttributes ( $attributes ) : mixed
$attributes
return mixed
    protected function cleanAttributes($attributes)
    {
        $attributes = $this->cleanAttributesAllowed($attributes);
        $attributes = $this->cleanAttributesIgnored($attributes);
        $attributes = $this->cleanAttributesOverride($attributes);
        return $attributes;
    }