Add UPGRADE note for EntityRepository::count()
This commit is contained in:
parent
ceda5d3bc7
commit
f2666a472f
@ -1,5 +1,12 @@
|
|||||||
# Upgrade to 2.6
|
# 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
|
## Minor BC BREAK: `Doctrine\ORM\Tools\Console\ConsoleRunner` is now final
|
||||||
|
|
||||||
Since it's just an utilitarian class and should not be inherited.
|
Since it's just an utilitarian class and should not be inherited.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user