From 1f0d4197a96ebe30d4357e186f275a03de4daf01 Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Wed, 12 Feb 2014 23:42:13 +0100 Subject: [PATCH] Update doc with latest news about extra lazy assoc --- docs/en/tutorials/extra-lazy-associations.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/tutorials/extra-lazy-associations.rst b/docs/en/tutorials/extra-lazy-associations.rst index 7ac88d8c4..f640484a5 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: