src/Sulu/Bundle/WebsiteBundle/Command/DumpSitemapCommand.php
private function dumpPortalInformations(array $portalInformations)
    {
        try {
            foreach ($portalInformations as $portalInformation) {
                $this->sitemapDumper->dumpPortalInformation($portalInformation, $this->scheme);
            }
        } catch (\InvalidArgumentException $exception) {
            $this->clear();

            throw $exception;
        }
    }
private function dumpPortalInformations(array $portalInformations)
    {
        try {
            foreach ($portalInformations as $portalInformation) {
                $this->sitemapDumper->dumpPortalInformation($portalInformation, $this->scheme);
            }
        } catch (\InvalidArgumentException $exception) {
            $this->clear();

            throw $exception;
        }
    }
private function dumpPortalInformations ( array $ portalInformations ) { try { foreach ( $ portalInformations as $ portalInformation ) { $ this -> sitemapDumper -> dumpPortalInformation ( $ portalInformation , $ this -> scheme ) ; } } catch ( \ InvalidArgumentException $ exception ) { $ this -> clear ( ) ; throw $ exception ; } }
Dump given portal-informations.

@param PortalInformation[] $portalInformations
Dump given portal - informations .