From ecb13a87dcbab294289be7663f35f6522c481f91 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Wed, 13 Jul 2011 21:31:31 +0200 Subject: [PATCH] Bugfix --- en/tutorials/extra-lazy-associations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/tutorials/extra-lazy-associations.rst b/en/tutorials/extra-lazy-associations.rst index ae58eb23c..b0b90947a 100644 --- a/en/tutorials/extra-lazy-associations.rst +++ b/en/tutorials/extra-lazy-associations.rst @@ -24,7 +24,7 @@ For each of this three methods the following semantics apply: Additionally even with Doctrine 2.0 the following methods do not trigger the collection load: - ``Collection#add($entity)`` -- ``Collection#offsetSet($key, $entity)`` - ArrayAccess with no specific key ``$coll[] = $entity`, it does +- ``Collection#offsetSet($key, $entity)`` - ArrayAccess with no specific key ``$coll[] = $entity``, it does not work when setting specific keys like ``$coll[0] = $entity``. With extra lazy collections you can now not only add entities to large collections but also paginate them