[PR #120] [MERGED] DDC-869 #7733

Closed
opened 2026-01-22 15:56:36 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/120
Author: @FabioBatSilva
Created: 9/8/2011
Status: Merged
Merged: 9/8/2011
Merged by: @guilhermeblanco

Base: masterHead: DDC-869


📝 Commits (8)

  • 82f7d6c starts work with mapped superclass repository
  • 25ecd45 Merge remote-tracking branch 'upstream/master' into DDC-869
  • b2d9849 mapping files
  • f6d34bb Merge remote-tracking branch 'upstream/master' into DDC-869
  • 54a53b1 tests for DDC-869
  • 6a89de5 change tests
  • 7f02751 php mapping
  • 19d0887 check if parent class is a mapped superclass

📊 Changes

20 files changed (+356 additions, -9 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php (+3 -0)
📝 lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php (+5 -2)
📝 lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php (+3 -1)
📝 lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php (+6 -3)
📝 lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php (+6 -3)
tests/Doctrine/Tests/Models/DDC869/DDC869ChequePayment.php (+40 -0)
tests/Doctrine/Tests/Models/DDC869/DDC869CreditCardPayment.php (+40 -0)
tests/Doctrine/Tests/Models/DDC869/DDC869Payment.php (+57 -0)
tests/Doctrine/Tests/Models/DDC869/DDC869PaymentRepository.php (+37 -0)
📝 tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php (+36 -0)
📝 tests/Doctrine/Tests/ORM/Mapping/BasicInheritanceMappingTest.php (+37 -0)
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.php (+5 -0)
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.php (+5 -0)
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869Payment.php (+17 -0)
tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.dcm.xml (+11 -0)
tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.dcm.xml (+11 -0)
tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869Payment.dcm.xml (+15 -0)
tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.dcm.yml (+5 -0)
tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.dcm.yml (+5 -0)
tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869Payment.dcm.yml (+12 -0)

📄 Description

Hello all

This patch is based on: DDC-869
http://www.doctrine-project.org/jira/browse/DDC-869

This patch adds support for "repositoryClass" on MappedSuperClass mapping
Any subclasses would inherit that custom Repo class, optionally overriding it..

Thanks ...

Best Regards,
Fabio B. SIlva


🔄 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/120 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 9/8/2011 **Status:** ✅ Merged **Merged:** 9/8/2011 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `DDC-869` --- ### 📝 Commits (8) - [`82f7d6c`](https://github.com/doctrine/orm/commit/82f7d6cad20d563700a15139c2dca9a69d0661d2) starts work with mapped superclass repository - [`25ecd45`](https://github.com/doctrine/orm/commit/25ecd45fd10f38544250d3ec6d001cfb405f61d5) Merge remote-tracking branch 'upstream/master' into DDC-869 - [`b2d9849`](https://github.com/doctrine/orm/commit/b2d98495b130dbdbdff8b918b34b9643ffda3842) mapping files - [`f6d34bb`](https://github.com/doctrine/orm/commit/f6d34bbb9dd725c6bcd292d1e8f32e967e0474c8) Merge remote-tracking branch 'upstream/master' into DDC-869 - [`54a53b1`](https://github.com/doctrine/orm/commit/54a53b1d03c5eb0055e0b48d558bab71c7ab6ffa) tests for DDC-869 - [`6a89de5`](https://github.com/doctrine/orm/commit/6a89de51e547117dfa03740c51e37235395e8ad5) change tests - [`7f02751`](https://github.com/doctrine/orm/commit/7f0275155d92ac68a81cf4fafd42fe5db35fca26) php mapping - [`19d0887`](https://github.com/doctrine/orm/commit/19d0887bb020bc5296c2822af7f6f21651c38946) check if parent class is a mapped superclass ### 📊 Changes **20 files changed** (+356 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php` (+3 -0) 📝 `lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php` (+5 -2) 📝 `lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php` (+3 -1) 📝 `lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php` (+6 -3) 📝 `lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php` (+6 -3) ➕ `tests/Doctrine/Tests/Models/DDC869/DDC869ChequePayment.php` (+40 -0) ➕ `tests/Doctrine/Tests/Models/DDC869/DDC869CreditCardPayment.php` (+40 -0) ➕ `tests/Doctrine/Tests/Models/DDC869/DDC869Payment.php` (+57 -0) ➕ `tests/Doctrine/Tests/Models/DDC869/DDC869PaymentRepository.php` (+37 -0) 📝 `tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php` (+36 -0) 📝 `tests/Doctrine/Tests/ORM/Mapping/BasicInheritanceMappingTest.php` (+37 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.php` (+5 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.php` (+5 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869Payment.php` (+17 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.dcm.xml` (+11 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.dcm.xml` (+11 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.Models.DDC869.DDC869Payment.dcm.xml` (+15 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.dcm.yml` (+5 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.dcm.yml` (+5 -0) ➕ `tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.Models.DDC869.DDC869Payment.dcm.yml` (+12 -0) </details> ### 📄 Description Hello all This patch is based on: DDC-869 http://www.doctrine-project.org/jira/browse/DDC-869 This patch adds support for "repositoryClass" on MappedSuperClass mapping Any subclasses would inherit that custom Repo class, optionally overriding it.. Thanks ... Best Regards, Fabio B. SIlva --- <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:56:36 +01:00
admin closed this issue 2026-01-22 15:56:36 +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#7733