mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #406] [MERGED] [DCOM-96] Moving proxy generation and autoloading to common #8140
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/406
Author: @Ocramius
Created: 7/21/2012
Status: ✅ Merged
Merged: 2/14/2013
Merged by: @beberlei
Base:
master← Head:DCOM-96📝 Commits (3)
8272ffdProxy generation as of doctrine/common#168 - DCOM-96271f5cfAdding fix and tests for DDC-1734a58d4aeCleaning up logic of the proxy factory by moving closure generation to own private methods📊 Changes
18 files changed (+508 additions, -795 deletions)
View changed files
📝
.gitignore(+2 -1)📝
lib/Doctrine/ORM/Id/AssignedGenerator.php(+1 -1)📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+6 -5)📝
lib/Doctrine/ORM/PersistentCollection.php(+4 -3)📝
lib/Doctrine/ORM/Proxy/Autoloader.php(+3 -74)📝
lib/Doctrine/ORM/Proxy/Proxy.php(+1 -1)➖
lib/Doctrine/ORM/Proxy/ProxyException.php(+0 -69)📝
lib/Doctrine/ORM/Proxy/ProxyFactory.php(+103 -339)📝
lib/Doctrine/ORM/Tools/DebugUnitOfWorkListener.php(+1 -1)📝
lib/Doctrine/ORM/UnitOfWork.php(+26 -5)📝
lib/vendor/doctrine-common(+1 -1)📝
tests/Doctrine/Tests/ORM/Functional/ProxiesLikeEntitiesTest.php(+18 -16)➕
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1734Test.php(+89 -0)➕
tests/Doctrine/Tests/ORM/Performance/ProxyPerformanceTest.php(+165 -0)➖
tests/Doctrine/Tests/ORM/Proxy/AutoloaderTest.php(+0 -62)➖
tests/Doctrine/Tests/ORM/Proxy/ProxyClassGeneratorTest.php(+0 -204)➕
tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php(+88 -0)➖
tests/Doctrine/Tests/ORM/Proxy/fixtures/NonNamespacedProxies.php(+0 -13)📄 Description
This PR is related to doctrine/common#168.
In this PR, the
ProxyFactoryhas been reduced to an object builder and it's public API has been kept intact (While the proxyAutoloaderhas been moved to doctrine/common). It would be interesting to define what this builder could do with theProxyFactoryto get its own customizations introduced.Also fixes DDC-1734
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.