diff --git a/doctrine.rst b/doctrine.rst index b2ac440d72a..4e1bc649d39 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -361,7 +361,7 @@ and save it:: // ... use App\Entity\Product; - use Doctrine\ORM\EntityManagerInterface; + use Doctrine\Persistence\ManagerRegistry; use Symfony\Component\HttpFoundation\Response; class ProductController extends AbstractController