src/Flowcode/ShopBundle/Controller/ShopSettingController.php
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(),
        );
    }
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.

@Route("/new", name="admin_amulen_shop_setting_new")
@Method("GET")
@Template()
Displays a form to create a new ShopSetting entity .