public function dump($basepath, $language = null)
    {
        $sitemapData = $this
            ->sitemapBuilder
            ->build($basepath, $language);

        $path = $this->resolvePathWithLanguage(
            $this->path,
            $language
        );

        $this
            ->sitemapDumper
            ->dump($path, $sitemapData);
    }
public function dump($basepath, $language = null)
    {
        $sitemapData = $this
            ->sitemapBuilder
            ->build($basepath, $language);

        $path = $this->resolvePathWithLanguage(
            $this->path,
            $language
        );

        $this
            ->sitemapDumper
            ->dump($path, $sitemapData);
    }
public function dump ( $ basepath , $ language = null ) { $ sitemapData = $ this -> sitemapBuilder -> build ( $ basepath , $ language ) ; $ path = $ this -> resolvePathWithLanguage ( $ this -> path , $ language ) ; $ this -> sitemapDumper -> dump ( $ path , $ sitemapData ) ; }
Dump builder using a dumper.

@param string      $basepath Base path
@param string|null $language Language
Dump builder using a dumper .