AuditableBehavior::_isAuditLogModel PHP Method

_isAuditLogModel() protected method

Check if the given model is one of AuditLog ones
protected _isAuditLogModel ( Model $Model ) : boolean
$Model Model The model to check
return boolean True if yes, else false.
    protected function _isAuditLogModel(Model $Model)
    {
        return $Model->name === 'Audit' || $Model->name === 'AuditDelta';
    }