Doctrine: Entity Manager getReference
10 de octubre del 2016
Devuelve el proxy a un objeto que se ha cargado previamente:
1 2 3 |
$item = $this->getReference("AppBundle\Entity\People", 75); $item->setName('papa'); $this->flush(); |
Devuelve el proxy a un objeto que se ha cargado previamente:
1 2 3 |
$item = $this->getReference("AppBundle\Entity\People", 75); $item->setName('papa'); $this->flush(); |