mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #357] [CLOSED] Persistent and Called First ClassName #8072
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/357
Author: @bpanahij
Created: 5/25/2012
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
7e0799b-NamingStrategy227e0f0-stub in setClassName interface94cf7ca-Stub in interface for new setClassNamefbdba44Move className parameter to each method as optionaleb95a92-Suggestion taken to add $className to each method as an optional parameterc32447d-Remove self-deprecated functiona9b7a0d-remove self-deprecating setClassName functionea579f3-need to make both params for joinColumnName optionalc0333fb-make optional param propertyName for propertyToColumnName1c1ff29-Must be compatible with new NamingStrategy class definition📊 Changes
4 files changed (+39 additions, -33 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+14 -14)📝
lib/Doctrine/ORM/Mapping/DefaultNamingStrategy.php(+8 -7)📝
lib/Doctrine/ORM/Mapping/NamingStrategy.php(+11 -6)📝
lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php(+6 -6)📄 Description
--Allow the use of the ClassName in Naming functions other than just setting the table name
I am using it to add a table name prefix to all of my columns within the table;
as follows:
}
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.