persistence
persistence copied to clipboard
The Doctrine Persistence project is a library that provides common abstractions for object mapper persistence.
Two good reasons to do this move: - This was a circular dependency. - doctrine/common is being sunset.
Solve https://github.com/doctrine/persistence/issues/223
Traits allows to write reusable piece of code defing common fields. Using php annotations is already possible to inherit fields definition in our enties. We should support XML and YAML...
- Evaluate if we should return iterable instead of array in some cases - It may make more sense to add new methods that return iterable instead of changing existing...
I'm currently in the process of improving my codebase with static analysis (PHPStan in this case), and I've found an interesting use case to improve the `ObjectRepository` interface: I find...
https://github.com/doctrine/persistence/issues/200
When defining ORM mapping using the `php` driver there is `$metadata` variable floating around in the mapping file. IDE's complain about type hinting. It would be nice to be able...
Fixes: https://github.com/doctrine/persistence/issues/97 This PR add `class_exists` checks before calling the `class_alias` function. I decided to check to _all_ `class_alias` functions. This fixes the following warnings (in PHP8 RC5 with preloading...
I am not quite sure if this is the right place to ask, because the change aims at a feature of ORM. Anyways, here it goes: Doctrine ORM features a...
In this patch I want to discuss the possibility of adding an optional parameter to the `findAll` method, that IMO makes sense to be there: `$orderBy`. When one needs to...