Skip to content

Allow passing the mapping driver to `ORMInfrastructure::create*()` methods

Compare
Choose a tag to compare
@relthyg relthyg released this 20 Mar 12:47
8808c1b

This makes it possible to transition to attribute-based or other types of Doctrine ORM mapping configuration by (optionally) passing the mapping driver into ORMInfrastructure::create*() methods.

Also, hybrid configurations (different types of mapping) can be used by leveraging the MappingDriverChain from doctrine/persistence.