mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1008] [CLOSED] DDC-3078 SLC Cache interface ctor removal #9027
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/1008
Author: @Ocramius
Created: 4/10/2014
Status: ❌ Closed
Base:
master← Head:hotfix/DDC-3078-slc-cache-interface-ctor-removal📝 Commits (10+)
f63e755DDC-3078 - constructor should never be interfaced96e1919DDC-3078 - adding exception methods for invalid cache instantiatord602e3dDDC-3078 - adding API for cache instantiation to the configuration object6b9e67aDDC-3078 - cache configuration tests for the newly introduced API for cache instantiatorsc56e923DDC-3078 - removing tests for cache class setter/getter on cache configuration11e17e7DDC-3078 - switching cache initialization to use cache instantiator from config37aa3e8DDC-3078 - removing cache class name setter/getter from cache configuration APIb384075DDC-3078 - removing unused cache class name invalidity exception methods00ab465DDC-3078 - using an explicit CacheInstantiator interface to replace callable cache instantiatorsba7094eDDC-3078 - providing a default cache instantiator implementation📊 Changes
8 files changed (+139 additions, -43 deletions)
View changed files
📝
lib/Doctrine/ORM/Cache.php(+0 -7)📝
lib/Doctrine/ORM/Cache/CacheConfiguration.php(+8 -17)➕
lib/Doctrine/ORM/Cache/CacheInstantiator.php(+41 -0)➕
lib/Doctrine/ORM/Cache/DefaultCacheInstantiator.php(+41 -0)📝
lib/Doctrine/ORM/EntityManager.php(+1 -2)📝
lib/Doctrine/ORM/ORMException.php(+0 -10)📝
tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php(+19 -7)➕
tests/Doctrine/Tests/ORM/Cache/DefaultCacheInstantiatorTest.php(+29 -0)📄 Description
See DDC-3078 ( http://www.doctrine-project.org/jira/browse/DDC-3078 ) - the cache interface should NOT cover a constructor.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.