src/Sulu/Bundle/CoreBundle/Controller/LocalizationController.php
public function cgetAction()
    {
        /** @var LocalizationManagerInterface $localizationManager */
        $localizationManager = $this->get('sulu.core.localization_manager');

        $representation = new CollectionRepresentation(
            array_values($localizationManager->getLocalizations()),
            'localizations'
        );

        return $this->handleView(
            $this->view($representation, 200)
        );
    }
public function cgetAction()
    {
        /** @var LocalizationManagerInterface $localizationManager */
        $localizationManager = $this->get('sulu.core.localization_manager');

        $representation = new CollectionRepresentation(
            array_values($localizationManager->getLocalizations()),
            'localizations'
        );

        return $this->handleView(
            $this->view($representation, 200)
        );
    }
public function cgetAction ( ) { /** @var LocalizationManagerInterface $localizationManager */ $ localizationManager = $ this -> get ( 'sulu.core.localization_manager' ) ; $ representation = new CollectionRepresentation ( array_values ( $ localizationManager -> getLocalizations ( ) ) , 'localizations' ) ; return $ this -> handleView ( $ this -> view ( $ representation , 200 ) ) ; }
Returns all the localizations available in this system.

@return \Symfony\Component\HttpFoundation\Response
Returns all the localizations available in this system .