Ojs\JournalBundle\Entity\JournalUser::getId PHP Метод

getId() публичный Метод

public getId ( ) : integer
Результат integer
    public function getId()
    {
        return $this->id;
    }

Usage Example

Пример #1
0
 private function createEditForm(JournalUser $entity)
 {
     $actionUrl = $this->generateUrl('ojs_journal_user_update', ['journalId' => $entity->getJournal()->getId(), 'id' => $entity->getId()]);
     $form = $this->createForm(new JournalUserEditType(), $entity, ['method' => 'PUT', 'action' => $actionUrl]);
     return $form;
 }