Fix wrong variable name
This commit is contained in:
parent
ff80187930
commit
613119599f
@ -466,7 +466,7 @@ Basic entity cache
|
|||||||
$country1 = $em->find('Country', 1); // Retrieve item from cache
|
$country1 = $em->find('Country', 1); // Retrieve item from cache
|
||||||
|
|
||||||
$country->setName("New Name");
|
$country->setName("New Name");
|
||||||
$em->persist($state);
|
$em->persist($country);
|
||||||
$em->flush(); // Hit database to update the row and update cache
|
$em->flush(); // Hit database to update the row and update cache
|
||||||
|
|
||||||
$em->clear(); // Clear entity manager
|
$em->clear(); // Clear entity manager
|
||||||
|
Loading…
x
Reference in New Issue
Block a user