public static function getInstance(string $dumper): AbstractDumper
    {
        $class = static::getClassName($dumper);

        if (!isset(static::$singletons[$class])) {
            static::$singletons[$class] = new $class();
        }

        return static::$singletons[$class];
    }