src/Sulu/Bundle/SearchBundle/Controller/SearchController.php
public function indexesAction()
    {
        return $this->viewHandler->handle(
            View::create(
                array_map(
                    function($indexName) {
                        $indexConfiguration = $this->indexConfigurationProvider->getIndexConfiguration($indexName);

                        return $indexConfiguration ?: new IndexConfiguration($indexName);
                    },
                    $this->getAllowedIndexes()
                )
            )
        );
    }
public function indexesAction()
    {
        return $this->viewHandler->handle(
            View::create(
                array_map(
                    function($indexName) {
                        $indexConfiguration = $this->indexConfigurationProvider->getIndexConfiguration($indexName);

                        return $indexConfiguration ?: new IndexConfiguration($indexName);
                    },
                    $this->getAllowedIndexes()
                )
            )
        );
    }
public function indexesAction ( ) { return $ this -> viewHandler -> handle ( View :: create ( array_map ( function ( $ indexName ) { $ indexConfiguration = $ this -> indexConfigurationProvider -> getIndexConfiguration ( $ indexName ) ; return $ indexConfiguration ? : new IndexConfiguration ( $ indexName ) ; } , $ this -> getAllowedIndexes ( ) ) ) ) ; }
Return a JSON encoded scalar array of index names.

@return Response
Return a JSON encoded scalar array of index names .