src/Sulu/Bundle/WebsiteBundle/Navigation/NavigationMapper.php
private function generateChildNavigation(
        StructureInterface $content,
        $webspace,
        $language,
        $flat = false,
        $context = null
    ) {
        $children = [];
        if (is_array($content->getChildren()) && count($content->getChildren()) > 0) {
            $children = $this->generateNavigation(
                $content->getChildren(),
                $webspace,
                $language,
                $flat,
                $context
            );
        }

        return $children;
    }
private function generateChildNavigation(
        StructureInterface $content,
        $webspace,
        $language,
        $flat = false,
        $context = null
    ) {
        $children = [];
        if (is_array($content->getChildren()) && count($content->getChildren()) > 0) {
            $children = $this->generateNavigation(
                $content->getChildren(),
                $webspace,
                $language,
                $flat,
                $context
            );
        }

        return $children;
    }
private function generateChildNavigation ( StructureInterface $ content , $ webspace , $ language , $ flat = false , $ context = null ) { $ children = [ ] ; if ( is_array ( $ content -> getChildren ( ) ) && count ( $ content -> getChildren ( ) ) > 0 ) { $ children = $ this -> generateNavigation ( $ content -> getChildren ( ) , $ webspace , $ language , $ flat , $ context ) ; } return $ children ; }
generate child navigation of given content.
generate child navigation of given content .