protected function buildSitemap(Sitemap $sitemap)
    {
        $content = $this->app['twig']->render('@phpillip/sitemap.xml.twig', ['sitemap' => $sitemap]);
        $this->builder->write('/', $content, 'xml', 'sitemap');
    }
protected function buildSitemap(Sitemap $sitemap)
    {
        $content = $this->app['twig']->render('@phpillip/sitemap.xml.twig', ['sitemap' => $sitemap]);
        $this->builder->write('/', $content, 'xml', 'sitemap');
    }
protected function buildSitemap ( Sitemap $ sitemap ) { $ content = $ this -> app [ 'twig' ] -> render ( '@phpillip/sitemap.xml.twig' , [ 'sitemap' => $ sitemap ] ) ; $ this -> builder -> write ( '/' , $ content , 'xml' , 'sitemap' ) ; }
Build sitemap xml file from Sitemap

@param Sitemap $sitemap
Build sitemap xml file from Sitemap