private function filterElement(ElementInterface $element)
    {
        $value = $element->getValue();
        foreach ($this->filters as $scope => $filter) {
            $elementIds = array_map('trim', explode(',', $scope));
            if ($scope === '*' || in_array($element->getID(), $elementIds)) {
                $value = $filter->filter($value);
            }
        }
        $element->setValue($value);
    }