public function addDumper(DumperContract $dumper, string $extension): void
    {
        self::$supportedDumper[$extension] = $dumper;
    }
public function addDumper(DumperContract $dumper, string $extension): void
    {
        self::$supportedDumper[$extension] = $dumper;
    }
public function addDumper ( DumperContract $ dumper , string $ extension ) : void { self :: $ supportedDumper [ $ extension ] = $ dumper ; }
Add a new dumper.

@param \Viserio\Component\Contract\Parser\Dumper $dumper
@param string                                    $extension

@return void
Add a new dumper .