src/Database/Models/Traits/Auditable.php
/**
     * Determine if an attribute is eligible for auditing.
     *
     * @param string $attribute
     *
     * @return bool
     */
Determine if an attribute is eligible for auditing.
@param string $attribute

@return bool
Determine if an attribute is eligible for auditing . @param string $attribute @return bool
protected function isAttributeAuditable($attribute)
    {
        if (in_array($attribute, $this->auditableExclusions)) {
            return false;
        }
        $include = $this->getAuditInclude();
        return in_array($attribute, $include) || empty($include);
    }
protected function isAttributeAuditable ( $ attribute ) { if ( in_array ( $ attribute , $ this -> auditableExclusions ) ) { return false ; } $ include = $ this -> getAuditInclude ( ) ; return in_array ( $ attribute , $ include ) || empty ( $ include ) ; }
Determine if an attribute is eligible for auditing.
Determine if an attribute is eligible for auditing .
// The attribute should not be audited // The attribute is auditable when explicitly // listed or when the include array is empty