From ff3ccff36a69071ceb63559e4354dd8d87da8f98 Mon Sep 17 00:00:00 2001 From: Albert Casademont Date: Wed, 13 Nov 2024 23:56:41 +0100 Subject: [PATCH] Add `isEmpty()` method to the Extra Lazy Associations tutorial Extra lazy support for it was added a long time ago (see https://github.com/doctrine/orm/pull/912) but was never properly documented. --- docs/en/tutorials/extra-lazy-associations.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/tutorials/extra-lazy-associations.rst b/docs/en/tutorials/extra-lazy-associations.rst index fbff96f428..fbf1f00abd 100644 --- a/docs/en/tutorials/extra-lazy-associations.rst +++ b/docs/en/tutorials/extra-lazy-associations.rst @@ -18,6 +18,7 @@ can be called without triggering a full load of the collection: - ``Collection#containsKey($key)`` - ``Collection#count()`` - ``Collection#get($key)`` +- ``Collection#isEmpty()`` - ``Collection#slice($offset, $length = null)`` For each of the above methods the following semantics apply: