protected function evaluateFilters($value, array $clause)
    {
        if (true === isset($clause['filters'])) {
            if (false === is_array($clause['filters'])) {
                $clause['filters'] = [ $clause['filters'] ];
            }
            foreach ($clause['filters'] as $filter) {
                $value = $this->evaluateFilter($value, $filter);
            }
        }

        return $value;
    }