Skip to content

Commit 096ee5d

Browse files
committed
minor #16192 Update doctrine.rst (guillaumebdx)
This PR was merged into the 5.4 branch. Discussion ---------- Update doctrine.rst Since 5.4, documentation inject ManagerRegistry but kept Doctrine\ORM\EntityManagerInterface in uses. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- d957600 Update doctrine.rst
2 parents a924b00 + d957600 commit 096ee5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ and save it::
361361

362362
// ...
363363
use App\Entity\Product;
364-
use Doctrine\ORM\EntityManagerInterface;
364+
use Doctrine\Persistence\ManagerRegistry;
365365
use Symfony\Component\HttpFoundation\Response;
366366

367367
class ProductController extends AbstractController

0 commit comments

Comments
 (0)