public function add(ParamConverterInterface $converter, $priority = 0, $name = null)
    {
        if (null !== $priority) {
            if (!isset($this->converters[$priority])) {
                $this->converters[$priority] = [];
            }

            $this->converters[$priority][] = $converter;
        }

        if (null !== $name) {
            $this->namedConverters[$name] = $converter;
        }
    }