mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #25] [CLOSED] Ddc 970 #7607
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/25
Author: @ccapndave
Created: 1/6/2011
Status: ❌ Closed
Base:
master← Head:DDC-970📝 Commits (1)
e603ce0DDC-970 - added --attribute-visibility command line option to orm:generate-entities📊 Changes
2 files changed (+25 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php(+8 -0)📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+17 -2)📄 Description
orm:generate-entities should have an option to change the visibility of the attributes
The option is used like this:
doctrine orm:generate-entities --attribute-visibility=protected my_dir
doctrine orm:generate-entities --attribute-visibility=public my_dir
When the option is omitted attributes have private visibility as normal.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.