mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #719] [MERGED] Access properties via static:: instead of self::. #8610
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/719
Author: @tristanlins
Created: 7/5/2013
Status: ✅ Merged
Merged: 7/18/2013
Merged by: @guilhermeblanco
Base:
master← Head:fix/entity-generator-extensibility📝 Commits (1)
6417746Access 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
EntityGeneratorare 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.