Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04e43ee

Browse files
committed
[DoctrineBridge] Deprecated RegistryInterface
1 parent 5824ab8 commit 04e43ee

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

UPGRADE-5.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ DoctrineBridge
119119
injected instead
120120
* Passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field will throw an exception, pass `null` instead
121121
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field will not apply any optimization
122+
* The `RegistryInterface` has been removed.
122123

123124
DomCrawler
124125
----------

src/Symfony/Bridge/Doctrine/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* added `DoctrineClearEntityManagerMiddleware`
8+
* deprecated `RegistryInterface`, use `Doctrine\Common\Persistence\ManagerRegistry`
89

910

1011
4.3.0

src/Symfony/Bridge/Doctrine/RegistryInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* References Doctrine connections and entity managers.
1919
*
20+
* @deprecated since Symfony 4.4, use Doctrine\Common\Persistence\ManagerRegistry instead
21+
*
2022
* @author Fabien Potencier <[email protected]>
2123
*/
2224
interface RegistryInterface extends ManagerRegistryInterface

0 commit comments

Comments
 (0)