src/Sulu/Bundle/WebsiteBundle/Command/DumpSitemapCommand.php
private function dumpWebspace(Webspace $webspace)
    {
        foreach ($webspace->getAllLocalizations() as $localization) {
            $this->output->writeln(sprintf(' - %s (%s)', $webspace->getKey(), $localization->getLocale()));
            $this->dumpPortalInformations(
                $this->webspaceManager->findPortalInformationsByWebspaceKeyAndLocale(
                    $webspace->getKey(),
                    $localization->getLocale(),
                    $this->environment
                )
            );
        }
    }
private function dumpWebspace(Webspace $webspace)
    {
        foreach ($webspace->getAllLocalizations() as $localization) {
            $this->output->writeln(sprintf(' - %s (%s)', $webspace->getKey(), $localization->getLocale()));
            $this->dumpPortalInformations(
                $this->webspaceManager->findPortalInformationsByWebspaceKeyAndLocale(
                    $webspace->getKey(),
                    $localization->getLocale(),
                    $this->environment
                )
            );
        }
    }
private function dumpWebspace ( Webspace $ webspace ) { foreach ( $ webspace -> getAllLocalizations ( ) as $ localization ) { $ this -> output -> writeln ( sprintf ( ' - %s (%s)' , $ webspace -> getKey ( ) , $ localization -> getLocale ( ) ) ) ; $ this -> dumpPortalInformations ( $ this -> webspaceManager -> findPortalInformationsByWebspaceKeyAndLocale ( $ webspace -> getKey ( ) , $ localization -> getLocale ( ) , $ this -> environment ) ) ; } }
Dump given webspace.

@param Webspace $webspace
Dump given webspace .