src/Flowcode/ShopBundle/Controller/ShopSettingController.php
/**
     * Displays a form to create a new ShopSetting entity.
     *
     * @Route("/new", name="admin_amulen_shop_setting_new")
     * @Method("GET")
     * @Template()
     */
Displays a form to create a new ShopSetting entity.
Displays a form to create a new ShopSetting entity .
public function newAction()
    {
        $shopSetting = new ShopSetting();
        $form = $this->createForm(new ShopSettingType(), $shopSetting);
        return array(
            'shopSetting' => $shopSetting,
            'form' => $form->createView(),
        );
    }
public function newAction ( ) { $ shopSetting = new ShopSetting ( ) ; $ form = $ this -> createForm ( new ShopSettingType ( ) , $ shopSetting ) ; return array ( 'shopSetting' => $ shopSetting , 'form' => $ form -> createView ( ) , ) ; }
Displays a form to create a new ShopSetting entity.
Displays a form to create a new ShopSetting entity .