[PR #719] [MERGED] Access properties via static:: instead of self::. #8610

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/719
Author: @tristanlins
Created: 7/5/2013
Status: Merged
Merged: 7/18/2013
Merged by: @guilhermeblanco

Base: masterHead: fix/entity-generator-extensibility


📝 Commits (1)

  • 6417746 Access properties via static:: instead of self::.

📊 Changes

1 file changed (+11 additions, -11 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+11 -11)

📄 Description

The properties of EntityGenerator are now protected instead of private.
But this does not make sense until they are accessed with static::.
Otherwise the templates cannot be overwritten within a sub class.


🔄 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/719 **Author:** [@tristanlins](https://github.com/tristanlins) **Created:** 7/5/2013 **Status:** ✅ Merged **Merged:** 7/18/2013 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `fix/entity-generator-extensibility` --- ### 📝 Commits (1) - [`6417746`](https://github.com/doctrine/orm/commit/641774630bcb2398aa2e2a89f1babf31690a7240) Access properties via static:: instead of self::. ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+11 -11) </details> ### 📄 Description The properties of `EntityGenerator` are now protected instead of private. But this does not make sense until they are accessed with `static::`. Otherwise the templates cannot be overwritten within a sub class. --- <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:00:45 +01:00
admin closed this issue 2026-01-22 16:00:45 +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#8610