src/Phlexible/Bundle/GuiBundle/Controller/AssetController.php
public function iconsAction(Request $request)
    {
        $iconsBuilder = $this->get('phlexible_gui.asset.icons_builder');
        $asset = $iconsBuilder->build($request->getBasePath());

        return new BinaryFileResponse($asset, 200, array('Content-Type' => 'text/css;charset=UTF-8'));
    }
public function iconsAction(Request $request)
    {
        $iconsBuilder = $this->get('phlexible_gui.asset.icons_builder');
        $asset = $iconsBuilder->build($request->getBasePath());

        return new BinaryFileResponse($asset, 200, array('Content-Type' => 'text/css;charset=UTF-8'));
    }
public function iconsAction ( Request $ request ) { $ iconsBuilder = $ this -> get ( 'phlexible_gui.asset.icons_builder' ) ; $ asset = $ iconsBuilder -> build ( $ request -> getBasePath ( ) ) ; return new BinaryFileResponse ( $ asset , 200 , array ( 'Content-Type' => 'text/css;charset=UTF-8' ) ) ; }
Output icon styles.

@param Request $request

@return Response
@Route("/gui-icons.css", name="asset_icons")
Output icon styles .