From fa4e6ee4e164a02e4cde7a4db0a6ff82b093bf69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Neboj=C5=A1a=20Kamber?= Date: Thu, 3 Mar 2022 11:35:48 +0100 Subject: [PATCH] Fix typo in method name `Doctrine/ODM/MongoDB/Aggregation/Builder` has a method `rewindable`, not `setRewindable` Possible mixup with `setRewindable` in `Doctrine/ODM/MongoDB/Query/Builder` --- docs/en/reference/aggregation-builder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/aggregation-builder.rst b/docs/en/reference/aggregation-builder.rst index a4d82cbf31..ebd58516e3 100644 --- a/docs/en/reference/aggregation-builder.rst +++ b/docs/en/reference/aggregation-builder.rst @@ -207,7 +207,7 @@ can tell the query builder to not return a caching iterator: createAggregationBuilder(\Documents\Orders::class); - $builder->setRewindable(false); + $builder->rewindable(false); When setting this option to ``false``, attempting a second iteration will result in an exception. Note that calling ``getAggregation()`` will always yield a