DDC-2546: [GH-719] Access properties via static:: instead of self::. #3196

Closed
opened 2026-01-22 14:15:00 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 5, 2013).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of tristanlins:

Url: https://github.com/doctrine/doctrine2/pull/719

Message:

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.

Originally created by @doctrinebot on GitHub (Jul 5, 2013). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of tristanlins: Url: https://github.com/doctrine/doctrine2/pull/719 Message: 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.
admin added the Improvement label 2026-01-22 14:15:00 +01:00
admin closed this issue 2026-01-22 14:15:00 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 18, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-719] was closed:
https://github.com/doctrine/doctrine2/pull/719

@doctrinebot commented on GitHub (Jul 18, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-719] was closed: https://github.com/doctrine/doctrine2/pull/719
Author
Owner

@doctrinebot commented on GitHub (Jul 18, 2013):

Comment created by @ocramius:

Merged: fbbb161987

@doctrinebot commented on GitHub (Jul 18, 2013): Comment created by @ocramius: Merged: https://github.com/doctrine/doctrine2/commit/fbbb16198705d8a4cbe0a1f24956c718231127b9
Author
Owner

@doctrinebot commented on GitHub (Jul 18, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jul 18, 2013): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3196