public function createDumper($type, ContainerBuilder $container)
    {
        $className = $this->getClassNameByShortType($type);

        return new $className($container);
    }
public function createDumper($type, ContainerBuilder $container)
    {
        $className = $this->getClassNameByShortType($type);

        return new $className($container);
    }
public function createDumper ( $ type , ContainerBuilder $ container ) { $ className = $ this -> getClassNameByShortType ( $ type ) ; return new $ className ( $ container ) ; }
Creates a dumper for use only by the given container

@param  string           $type
@param  ContainerBuilder $container
@return DumperInterface
Creates a dumper for use only by the given container