Exemplo n.º 1
0
 /**
  * Processes an entity into the entityManager
  *
  * @param EntityArrayHelper $helper
  * @param string            $entityName
  * @param array             $values
  */
 protected function processEntity(EntityArrayHelper $helper, $entityName, array $values)
 {
     $entity = $helper->toEntity($entityName, $values);
     // Save entity
     $this->em->persist($entity);
 }