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(); | ||||
} | } |