Class Iterator should implement Countable #32

Open
daniphp opened this Issue Mar 13, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

daniphp commented Mar 13, 2012

totalCount() is not really good is Countable exists.

Owner

a-musing-moose commented Mar 13, 2012

Hi Daniphp,

totalCount is not the same a count. totalCount refers to the total amount found irrelevant of limits and skips. So it is not really the same thing.

Contributor

daniphp commented Mar 28, 2012

Ok, then how about a count that will include both limit and skips using Countable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment