feature #32817 [DoctrineBridge] Deprecate RegistryInterface (Koc)
This PR was merged into the 4.4 branch.
Discussion
----------
[DoctrineBridge] Deprecate RegistryInterface
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yno
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #32394
| License | MIT
| Doc PR | -
Commits
-------
151415b876
[DoctrineBridge] Deprecated RegistryInterface
This commit is contained in:
commit
bb74384236
@ -64,6 +64,14 @@ DependencyInjection
|
|||||||
new Definition('%my_class%');
|
new Definition('%my_class%');
|
||||||
```
|
```
|
||||||
|
|
||||||
|
DoctrineBridge
|
||||||
|
--------------
|
||||||
|
* Deprecated injecting `ClassMetadataFactory` in `DoctrineExtractor`, an instance of `EntityManagerInterface` should be
|
||||||
|
injected instead.
|
||||||
|
* Deprecated passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field.
|
||||||
|
* Deprecated not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field.
|
||||||
|
* Deprecated `RegistryInterface`, use `Doctrine\Common\Persistence\ManagerRegistry`.
|
||||||
|
|
||||||
Filesystem
|
Filesystem
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
@ -115,10 +115,11 @@ DependencyInjection
|
|||||||
DoctrineBridge
|
DoctrineBridge
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
* Deprecated injecting `ClassMetadataFactory` in `DoctrineExtractor`, an instance of `EntityManagerInterface` should be
|
* Removed the possibility to inject `ClassMetadataFactory` in `DoctrineExtractor`, an instance of `EntityManagerInterface` should be
|
||||||
injected instead
|
injected instead
|
||||||
* Passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field will throw an exception, pass `null` instead
|
* Passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field will throw an exception, pass `null` instead
|
||||||
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field will not apply any optimization
|
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field will not apply any optimization
|
||||||
|
* The `RegistryInterface` has been removed.
|
||||||
|
|
||||||
DomCrawler
|
DomCrawler
|
||||||
----------
|
----------
|
||||||
|
@ -5,6 +5,7 @@ CHANGELOG
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
* added `DoctrineClearEntityManagerMiddleware`
|
* added `DoctrineClearEntityManagerMiddleware`
|
||||||
|
* deprecated `RegistryInterface`, use `Doctrine\Common\Persistence\ManagerRegistry`
|
||||||
|
|
||||||
|
|
||||||
4.3.0
|
4.3.0
|
||||||
|
@ -17,6 +17,8 @@ use Doctrine\ORM\EntityManager;
|
|||||||
/**
|
/**
|
||||||
* References Doctrine connections and entity managers.
|
* References Doctrine connections and entity managers.
|
||||||
*
|
*
|
||||||
|
* @deprecated since Symfony 4.4, use Doctrine\Common\Persistence\ManagerRegistry instead
|
||||||
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*/
|
*/
|
||||||
interface RegistryInterface extends ManagerRegistryInterface
|
interface RegistryInterface extends ManagerRegistryInterface
|
||||||
|
Reference in New Issue
Block a user