mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[doc] Repository method count does not exist #5278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mcorteel on GitHub (Sep 30, 2016).
Originally assigned to: @Ocramius on GitHub.
The documentation references a convenience method of entity repositories named
count.Like this comment on stackoverflow states, it would be a great addition to the
EntityRepository, but it doesn't actually exist (reference).@lcobucci commented on GitHub (Sep 30, 2016):
@mcorteel that method is definitely available for 2.6 but probably not for 2.5.x
@mcorteel commented on GitHub (Sep 30, 2016):
Then I think it should be mentioned in the documentation. Shouldn't it?
@Ocramius commented on GitHub (Sep 30, 2016):
Fairly sure that those docs aren't referencing the correct branch... To be checked in https://github.com/doctrine/doctrine-website-sphinx, I suppose.
@yannickl88 commented on GitHub (Apr 12, 2017):
Is this still an issue? As far as I can tell the docs are not referencing any branch directly (via a link or some sorts).
Would an acceptable fix for this to add a line to the current docs that the
countmethod has been added in 2.6 suffice? I.e.,:@mcorteel commented on GitHub (Apr 13, 2017):
Yes, that would fix it!
@Ocramius commented on GitHub (Apr 13, 2017):
Moved to https://github.com/doctrine/doctrine-website-sphinx/issues/149 - closing here