original_string: public function showAction(StockChangeLog $stockchangelog)
      {
          $editForm = $this->createForm(new StockChangeLogType(), $stockchangelog, array(
              'action' => $this->generateUrl('admin_shop_changelog_update', array('id' => $stockchangelog->getid())),
              'method' => 'PUT',
          ));
          $deleteForm = $this->createDeleteForm($stockchangelog->getId(), 'admin_shop_changelog_delete');
  
          return array(
  
              'stockchangelog' => $stockchangelog,
              'edit_form' => $editForm->createView(),
              'delete_form' => $deleteForm->createView(),
  
          );
      }
code: public function showAction(StockChangeLog $stockchangelog)
      {
          $editForm = $this->createForm(new StockChangeLogType(), $stockchangelog, array(
              'action' => $this->generateUrl('admin_shop_changelog_update', array('id' => $stockchangelog->getid())),
              'method' => 'PUT',
          ));
          $deleteForm = $this->createDeleteForm($stockchangelog->getId(), 'admin_shop_changelog_delete');
  
          return array(
  
              'stockchangelog' => $stockchangelog,
              'edit_form' => $editForm->createView(),
              'delete_form' => $deleteForm->createView(),
  
          );
      }
code_tokens: public function showAction ( StockChangeLog $ stockchangelog ) { $ editForm = $ this -> createForm ( new StockChangeLogType ( ) , $ stockchangelog , array ( 'action' => $ this -> generateUrl ( 'admin_shop_changelog_update' , array ( 'id' => $ stockchangelog -> getid ( ) ) ) , 'method' => 'PUT' , ) ) ; $ deleteForm = $ this -> createDeleteForm ( $ stockchangelog -> getId ( ) , 'admin_shop_changelog_delete' ) ; return array ( 'stockchangelog' => $ stockchangelog , 'edit_form' => $ editForm -> createView ( ) , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
docstring: Finds and displays a StockChangeLog entity.
  
  @Route("/{id}/show", name="admin_shop_changelog_show", requirements={"id"="\d+"})
  @Method("GET")
  @Template()
docstring_tokens: Finds and displays a StockChangeLog entity .