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

