original_string: public function newAction(StockTransfer $stockTransfer)
      {
          $stocktransferitem = new StockTransferItem();
          $stocktransferitem->setStockTransfer($stockTransfer);
          $form = $this->createForm(new StockTransferItemType(), $stocktransferitem);
  
          return array(
              'stocktransferitem' => $stocktransferitem,
              'form' => $form->createView(),
          );
      }
code: public function newAction(StockTransfer $stockTransfer)
      {
          $stocktransferitem = new StockTransferItem();
          $stocktransferitem->setStockTransfer($stockTransfer);
          $form = $this->createForm(new StockTransferItemType(), $stocktransferitem);
  
          return array(
              'stocktransferitem' => $stocktransferitem,
              'form' => $form->createView(),
          );
      }
code_tokens: public function newAction ( StockTransfer $ stockTransfer ) { $ stocktransferitem = new StockTransferItem ( ) ; $ stocktransferitem -> setStockTransfer ( $ stockTransfer ) ; $ form = $ this -> createForm ( new StockTransferItemType ( ) , $ stocktransferitem ) ; return array ( 'stocktransferitem' => $ stocktransferitem , 'form' => $ form -> createView ( ) , ) ; }
docstring: Displays a form to create a new StockTransferItem entity.
  
  @Route("/{id}/new", name="stock_transfersitem_new")
  @Method("GET")
  @Template()
docstring_tokens: Displays a form to create a new StockTransferItem entity .