We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf89e2d0 commit0a83630Copy full SHA for 0a83630
doctrine.rst
@@ -633,9 +633,9 @@ Fetching an object back out of the database is even easier. For example,
633
suppose you've configured a route to display a specific ``Product`` based
634
on its ``id`` value::
635
636
- use Doctrine\ORM\EnityManagerInterface;
+ use Doctrine\ORM\EntityManagerInterface;
637
638
- public function showAction($productId,EnityManagerInterface $em)
+ public function showAction($productId,EntityManagerInterface $em)
639
{
640
$product = $em->getRepository('AppBundle:Product')
641
->find($productId);
@@ -727,7 +727,7 @@ Updating an Object
727
Once you've fetched an object from Doctrine, updating it is easy. Suppose
728
you have a route that maps a product id to an update action in a controller::
729
730
731
732
public function updateAction($productId, EntityManagerInterface $em)
733