8000 Fix typo in a class name · richard4339/symfony-docs@0a83630 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a83630

Browse files
apfliegerxabbuh
authored andcommitted
Fix typo in a class name
EnityManagerInterface -> En(t)ityManagerInterface
1 parent f89e2d0 commit 0a83630

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doctrine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,9 @@ Fetching an object back out of the database is even easier. For example,
633633
suppose you've configured a route to display a specific ``Product`` based
634634
on 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
727727
Once you've fetched an object from Doctrine, updating it is easy. Suppose
728728
you 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
{

0 commit comments

Comments
 (0)
0