public function supports(Request $request, ArgumentMetadata $argument)
    {
        $classname = $argument->getType();
        if (!\class_exists($classname)) {
            return false;
        }
        if (\array_key_exists($classname, $this->mappingParameters)) {
            return true;
        }
        else {
            foreach ($this->mappingParameters as $value) {
                if ($value instanceof $classname) {
                    return true;
                }
            }
            
            return false;
        }
    }