/**
* @ORM\OneToMany(targetEntity="AppBundle\Entity\Phone", mappedBy="customer_id", cascade={"persist", "remove", "merge"})
*/
private $phone;
dump($customer)
внутри if ? Подозреваю, что null$pform
? Может должно быть $form
? Т.к у вас не заполняется форма customer после sumbit из request$em = $this->getDoctrine()->getManager();
$customer->addPhone($phone);
$em->persist($customer);
$em->flush();
$port->getIpAddressesAssignedCollection()
), но всё равно доктрина решает делать транзакцию с конца.