1
0
mirror of synced 2025-01-19 15:01:40 +03:00

Fix wrong variable name

This commit is contained in:
Thomas Tourlourat 2014-08-21 10:42:22 +02:00
parent ff80187930
commit 613119599f

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