Skip to content

Commit e8d4a79

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Fix code block [Doctrine] Replace entityManager by objectManager
2 parents d5ab738 + eba48c9 commit e8d4a79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doctrine.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -784,13 +784,13 @@ control behavior:
784784
If true, then when ``findOneBy()`` is used, any values that are
785785
``null`` will not be used for the query.
786786

787-
``entityManager``
787+
``objectManager``
788788
By default, the ``EntityValueResolver`` uses the *default*
789-
entity manager, but you can configure this::
789+
object manager, but you can configure this::
790790

791791
#[Route('/product/{id}')]
792792
public function show(
793-
#[MapEntity(entityManager: ['foo'])]
793+
#[MapEntity(objectManager: 'foo')]
794794
Product $product
795795
): Response {
796796
}

0 commit comments

Comments
 (0)