Lukas Kahwe Smith

Results 397 comments of Lukas Kahwe Smith

have a look at some of the event tests here for inspiration https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Functional

yes .. but also skip trying to determine changes in the sort order

php array keys can be integers and strings, nothing else

well we can make it possible for the user to configure the class in the annotation optionally and then throw an exception on a mismatch.

from what I can see the ORM behaves just like the ODM does.: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L302 this might be done for performance reasons, ie. to reduce the number of iterations one needs...