doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.86k stars 2.5k forks source link

Add ClassMetadataFactoryInterface to allow switching implementation #11497

Open alekitto opened 1 week ago

alekitto commented 1 week ago

New Feature

Q A
New Feature yes
RFC no
BC Break no

Summary

Fixes #11496

This PR introduces a new ClassMetadataFactoryInterface interface and changes the type-hints to allow switching implementation of the factory in configuration.