getId() public méthode

Get id
public getId ( ) : integer
Résultat integer
 /**
  * Creates a form to edit a PublisherTypes entity.
  *
  * @param PublisherTheme $entity
  * @param Publisher $publisher
  * @return \Symfony\Component\Form\Form
  */
 private function createEditForm(PublisherTheme $entity, Publisher $publisher)
 {
     $form = $this->createForm(new PublisherThemeType(), $entity, array('action' => $this->generateUrl('ojs_publisher_manager_theme_update', array('publisherId' => $publisher->getId(), 'id' => $entity->getId())), 'method' => 'PUT'));
     $form->remove('publisher');
     $form->add('submit', 'submit', array('label' => 'Update'));
     return $form;
 }