1
0
mirror of synced 2025-01-10 02:57:10 +03:00

Merge pull request #1115 from armetiz/patch-1

Fix wrong variable name
This commit is contained in:
Steve Müller 2014-08-21 11:22:35 +02:00
commit e47b31845c

View File

@ -466,7 +466,7 @@ Basic entity cache
$country1 = $em->find('Country', 1); // Retrieve item from cache
$country->setName("New Name");
$em->persist($state);
$em->persist($country);
$em->flush(); // Hit database to update the row and update cache
$em->clear(); // Clear entity manager