public function doMatch($value): bool
    {
        $config = $this->values[0];
        $namespace = $this->values[1] ?? null;

        if ($this->configResolver->hasParameter($config, $namespace)) {
            $configValue = $this->configResolver->getParameter($config, $namespace);
            $configValue = !is_array($configValue) ? [$configValue] : $configValue;

            return in_array($value, $configValue, true);
        }

        return false;
    }