diff --git a/doctrine.rst b/doctrine.rst index d84b20f6583..164ed72ed09 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -784,13 +784,13 @@ control behavior: If true, then when ``findOneBy()`` is used, any values that are ``null`` will not be used for the query. -``entityManager`` +``objectManager`` By default, the ``EntityValueResolver`` uses the *default* - entity manager, but you can configure this:: + object manager, but you can configure this:: #[Route('/product/{id}')] public function show( - #[MapEntity(entityManager: ['foo'])] + #[MapEntity(objectManager: 'foo')] Product $product ): Response { }