public function newAction()
    {
        $stockchangelog = new StockChangeLog();
        $form = $this->createForm(new StockChangeLogType(), $stockchangelog);

        return array(
            'stockchangelog' => $stockchangelog,
            'form' => $form->createView(),
        );
    }
public function newAction()
    {
        $stockchangelog = new StockChangeLog();
        $form = $this->createForm(new StockChangeLogType(), $stockchangelog);

        return array(
            'stockchangelog' => $stockchangelog,
            'form' => $form->createView(),
        );
    }
public function newAction ( ) { $ stockchangelog = new StockChangeLog ( ) ; $ form = $ this -> createForm ( new StockChangeLogType ( ) , $ stockchangelog ) ; return array ( 'stockchangelog' => $ stockchangelog , 'form' => $ form -> createView ( ) , ) ; }
Displays a form to create a new StockChangeLog entity.

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