Doctrine 2 Object Relational Mapper (ORM)
The current implementation of the exporters are not taking the entity listeners into account. I have added test cases for most of the edge cases I could think of and implemented the Exporter handling. This PR originates from https://github.com/doctrine/doctrine2/pull/5864, I was overwhelmed by the amount of conflicts I had to resolve so I started anew on a clean master HEAD. Squashed commits: - Code review aftermath - Add even more return type declarations - Added `return null` to methods declared with nullable return types - Removed unneeded docblocks when types are self-explanatory |
||
---|---|---|
bin | ||
docs | ||
lib/Doctrine/ORM | ||
tests | ||
tools/sandbox | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.scrutinizer.yml | ||
.travis.yml | ||
build.properties | ||
build.properties.dev | ||
build.xml | ||
composer.json | ||
CONTRIBUTING.md | ||
doctrine-mapping.xsd | ||
LICENSE | ||
phpbench.json | ||
phpstan.neon | ||
phpunit.xml.dist | ||
README.md | ||
run-all.sh | ||
SECURITY.md | ||
UPGRADE.md |
Master | 2.5 |
---|---|
Doctrine 2 is an object-relational mapper (ORM) for PHP 7.0+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.