Skip to content

Commit fa4e6ee

Browse files
authored
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`
1 parent fb42c10 commit fa4e6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/reference/aggregation-builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ can tell the query builder to not return a caching iterator:
207207
<?php
208208
209209
$builder = $dm->createAggregationBuilder(\Documents\Orders::class);
210-
$builder->setRewindable(false);
210+
$builder->rewindable(false);
211211
212212
When setting this option to ``false``, attempting a second iteration will result
213213
in an exception. Note that calling ``getAggregation()`` will always yield a

0 commit comments

Comments
 (0)