Browse Source

Refactoring controller

feature/ticket
Fab 3 years ago
parent
commit
7467d97055
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      Controller/AbstractAdminController.php

+ 0
- 2
Controller/AbstractAdminController.php View File



public function persistEntity(EntityManagerInterface $entityManager, $entityInstance): void public function persistEntity(EntityManagerInterface $entityManager, $entityInstance): void
{ {
dump($entityInstance);
die();
$entityManager->create($entityInstance); $entityManager->create($entityInstance);
$entityManager->flush(); $entityManager->flush();
} }

Loading…
Cancel
Save