src/Phlexible/Bundle/GuiBundle/Controller/AssetController.php
public function scriptsMapAction()
    {
        $scriptsBuilder = $this->get('phlexible_gui.asset.scripts_builder');
        $asset = $scriptsBuilder->build();

        return new BinaryFileResponse($asset->getMapAsset(), 200, array('Content-Type' => 'application/json;charset=UTF-8'));
    }
public function scriptsMapAction()
    {
        $scriptsBuilder = $this->get('phlexible_gui.asset.scripts_builder');
        $asset = $scriptsBuilder->build();

        return new BinaryFileResponse($asset->getMapAsset(), 200, array('Content-Type' => 'application/json;charset=UTF-8'));
    }
public function scriptsMapAction ( ) { $ scriptsBuilder = $ this -> get ( 'phlexible_gui.asset.scripts_builder' ) ; $ asset = $ scriptsBuilder -> build ( ) ; return new BinaryFileResponse ( $ asset -> getMapAsset ( ) , 200 , array ( 'Content-Type' => 'application/json;charset=UTF-8' ) ) ; }
Output scripts map.

@return Response
@Route("/gui.js.map", name="asset_scripts_map")
Output scripts map .