diff --git a/docs/en/tutorials/extra-lazy-associations.rst b/docs/en/tutorials/extra-lazy-associations.rst index 7ac88d8c4..2665d4bba 100644 --- a/docs/en/tutorials/extra-lazy-associations.rst +++ b/docs/en/tutorials/extra-lazy-associations.rst @@ -15,7 +15,9 @@ the first time its accessed. If you mark an association as extra lazy the follow can be called without triggering a full load of the collection: - ``Collection#contains($entity)`` +- ``Collection#containsKey($key)`` (available with Doctrine 2.5) - ``Collection#count()`` +- ``Collection#get($key)`` (available with Doctrine 2.4) - ``Collection#slice($offset, $length = null)`` For each of this three methods the following semantics apply: