public function newAction()
    {
        $entity = new ProductOrder();
        $form = $this->createCreateForm($entity);

        return array(
            'entity' => $entity,
            'form' => $form->createView(),
        );
    }
public function newAction()
    {
        $entity = new ProductOrder();
        $form = $this->createCreateForm($entity);

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

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