protected function process(string $value, bool $trim = true, bool $clean = true)
    {
        if ($trim) {
            $value = trim($value);
        }

        if ($clean) {
            $value = $this->security->clean($value);
        }

        return $value;
    }