1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Add UPGRADE note for EntityRepository::count()

This commit is contained in:
Michael Moravec 2018-06-27 20:41:59 +02:00
parent ceda5d3bc7
commit f2666a472f
No known key found for this signature in database
GPG Key ID: 946F139F96C1C1B5

View File

@ -1,5 +1,12 @@
# Upgrade to 2.6
## Added `Doctrine\ORM\EntityRepository::count()` method
`Doctrine\ORM\EntityRepository::count()` has been added. This new method has different
signature than `Countable::count()` (required parameter) and therefore are not compatible.
If your repository implemented the `Countable` interface, you will have to use
`$repository->count([])` instead and not implement `Countable` interface anymore.
## Minor BC BREAK: `Doctrine\ORM\Tools\Console\ConsoleRunner` is now final
Since it's just an utilitarian class and should not be inherited.