File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -633,9 +633,9 @@ Fetching an object back out of the database is even easier. For example,
633633suppose you've configured a route to display a specific ``Product `` based
634634on its ``id `` value::
635635
636- use Doctrine\ORM\EnityManagerInterface ;
636+ use Doctrine\ORM\EntityManagerInterface ;
637637
638- public function showAction($productId, EnityManagerInterface $em)
638+ public function showAction($productId, EntityManagerInterface $em)
639639 {
640640 $product = $em->getRepository('AppBundle:Product')
641641 ->find($productId);
@@ -727,7 +727,7 @@ Updating an Object
727727Once you've fetched an object from Doctrine, updating it is easy. Suppose
728728you have a route that maps a product id to an update action in a controller::
729729
730- use Doctrine\ORM\EnityManagerInterface ;
730+ use Doctrine\ORM\EntityManagerInterface ;
731731
732732 public function updateAction($productId, EntityManagerInterface $em)
733733 {
You can’t perform that action at this time.
0 commit comments