[PR #1012] [MERGED] Ddc 3078 slc cache interface ctor removal #9029

Closed
opened 2026-01-22 16:02:52 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/1012
Author: @FabioBatSilva
Created: 4/17/2014
Status: Merged
Merged: 4/17/2014
Merged by: @guilhermeblanco

Base: masterHead: DDC-3078-slc-cache-interface-ctor-removal


📝 Commits (10+)

  • 04b5214 DDC-3078 - constructor should never be interfaced
  • 1b5eb55 DDC-3078 - adding exception methods for invalid cache instantiator
  • e5f79d1 DDC-3078 - adding API for cache instantiation to the configuration object
  • 68f489e DDC-3078 - cache configuration tests for the newly introduced API for cache instantiators
  • cd0f94d DDC-3078 - removing tests for cache class setter/getter on cache configuration
  • 87a907f DDC-3078 - switching cache initialization to use cache instantiator from config
  • 9b2ee88 DDC-3078 - removing cache class name setter/getter from cache configuration API
  • d7f87cd DDC-3078 - removing unused cache class name invalidity exception methods
  • 6931cd0 DDC-3078 - using an explicit CacheInstantiator interface to replace callable cache instantiators
  • a790639 DDC-3078 - providing a default cache instantiator implementation

📊 Changes

7 files changed (+25 additions, -61 deletions)

View changed files

📝 lib/Doctrine/ORM/Cache.php (+0 -7)
📝 lib/Doctrine/ORM/Cache/CacheConfiguration.php (+0 -30)
📝 lib/Doctrine/ORM/Cache/CacheFactory.php (+9 -0)
📝 lib/Doctrine/ORM/Cache/DefaultCacheFactory.php (+8 -0)
📝 lib/Doctrine/ORM/EntityManager.php (+3 -2)
📝 lib/Doctrine/ORM/ORMException.php (+0 -10)
📝 tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php (+5 -12)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/1012 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 4/17/2014 **Status:** ✅ Merged **Merged:** 4/17/2014 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `DDC-3078-slc-cache-interface-ctor-removal` --- ### 📝 Commits (10+) - [`04b5214`](https://github.com/doctrine/orm/commit/04b52149ab79b862327e434e0fdfd024025e923b) DDC-3078 - constructor should never be interfaced - [`1b5eb55`](https://github.com/doctrine/orm/commit/1b5eb55ed950638cf0c070ea520fe6da4582b86e) DDC-3078 - adding exception methods for invalid cache instantiator - [`e5f79d1`](https://github.com/doctrine/orm/commit/e5f79d1f7367f61c489419fa69276c392fa0c289) DDC-3078 - adding API for cache instantiation to the configuration object - [`68f489e`](https://github.com/doctrine/orm/commit/68f489ecbb19402843ea31ecc55021c1c7c3f786) DDC-3078 - cache configuration tests for the newly introduced API for cache instantiators - [`cd0f94d`](https://github.com/doctrine/orm/commit/cd0f94dd6c7fce4735b3059d965d1d5904a910c6) DDC-3078 - removing tests for cache class setter/getter on cache configuration - [`87a907f`](https://github.com/doctrine/orm/commit/87a907f9dd420712c7ac0d88a502652fd937a154) DDC-3078 - switching cache initialization to use cache instantiator from config - [`9b2ee88`](https://github.com/doctrine/orm/commit/9b2ee886833cb2dc6149858741a4457527d5ca14) DDC-3078 - removing cache class name setter/getter from cache configuration API - [`d7f87cd`](https://github.com/doctrine/orm/commit/d7f87cdd36942ac99763b967f61f4c3f5d0db939) DDC-3078 - removing unused cache class name invalidity exception methods - [`6931cd0`](https://github.com/doctrine/orm/commit/6931cd08c4707f31c1c729d31ec5b0cfed64307d) DDC-3078 - using an explicit CacheInstantiator interface to replace callable cache instantiators - [`a790639`](https://github.com/doctrine/orm/commit/a790639167f6989dad8503a4e21603ca7302640f) DDC-3078 - providing a default cache instantiator implementation ### 📊 Changes **7 files changed** (+25 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Cache.php` (+0 -7) 📝 `lib/Doctrine/ORM/Cache/CacheConfiguration.php` (+0 -30) 📝 `lib/Doctrine/ORM/Cache/CacheFactory.php` (+9 -0) 📝 `lib/Doctrine/ORM/Cache/DefaultCacheFactory.php` (+8 -0) 📝 `lib/Doctrine/ORM/EntityManager.php` (+3 -2) 📝 `lib/Doctrine/ORM/ORMException.php` (+0 -10) 📝 `tests/Doctrine/Tests/ORM/Cache/CacheConfigTest.php` (+5 -12) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:02:52 +01:00
admin closed this issue 2026-01-22 16:02:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9029