[PR #460] [CLOSED] added support to extend strategies for IdGenerators #8227

Open
opened 2026-01-22 15:58:58 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/460
Author: @Powerhamster
Created: 10/2/2012
Status: Closed

Base: masterHead: extendable-generatorytypes


📝 Commits (1)

  • d8abbb6 added support to extend strategies for IdGenerators

📊 Changes

5 files changed (+52 additions, -4 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php (+1 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php (+2 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php (+2 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php (+2 -1)
📝 tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php (+45 -0)

📄 Description

Mapping drivers now use extended classmetadata class to find constants of generator types.
Method completeIdGeneratorMapping is now protected and can be extended


🔄 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/460 **Author:** [@Powerhamster](https://github.com/Powerhamster) **Created:** 10/2/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `extendable-generatorytypes` --- ### 📝 Commits (1) - [`d8abbb6`](https://github.com/doctrine/orm/commit/d8abbb6adb1920d517f324475b322f7736850a00) added support to extend strategies for IdGenerators ### 📊 Changes **5 files changed** (+52 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php` (+1 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php` (+2 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php` (+2 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php` (+2 -1) 📝 `tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php` (+45 -0) </details> ### 📄 Description Mapping drivers now use extended classmetadata class to find constants of generator types. Method completeIdGeneratorMapping is now protected and can be extended --- <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 15:58:58 +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#8227