From b61496a36bcdf41f23a82bf52f1426984757b4d2 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 14 Oct 2014 01:48:25 +0200 Subject: [PATCH] #1159 - adding `UPGRADE.md` notes for `Doctrine\ORM\Repository\DefaultRepositoryFactory` becoming `final` --- UPGRADE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 43e7ae92c..f1e3c242b 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -71,6 +71,11 @@ As of PHP 5.6, instantiation of new entities is deferred to the [`doctrine/instantiator`](https://github.com/doctrine/instantiator) library, which will avoid calling `__clone` or any public API on instantiated objects. +## BC BREAK: `Doctrine\ORM\Repository\DefaultRepositoryFactory` is now `final` + +Please implement the `Doctrine\ORM\Repository\RepositoryFactory` interface instead of extending +the `Doctrine\ORM\Repository\DefaultRepositoryFactory`. + # Upgrade to 2.4 ## BC BREAK: Compatibility Bugfix in PersistentCollection#matching()