Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isEmpty() method to the Extra Lazy associations tutorial #11715

Closed
wants to merge 2 commits into from

Conversation

acasademont
Copy link
Contributor

It was added a long time ago (see #912) but the isEmpty() function also does not trigger a full collection load.

It was added a long tiem ago (see #912) but the `isEmpty()` function also does not trigger a full collection load.
@@ -19,6 +19,7 @@ can be called without triggering a full load of the collection:
- ``Collection#count()``
- ``Collection#get($key)``
- ``Collection#slice($offset, $length = null)``
- ``Collection#isEmpty()``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current list seems to be using alphabetical order. Can you please move this to the right place? Also, according to #11208 you should target 2.20

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done at #11716

@acasademont acasademont closed this by deleting the head repository Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants