mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2325: [GH-594] Use inflector in EntityGenerator #2916
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?
Originally created by @doctrinebot on GitHub (Feb 28, 2013).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of v3labs:
Url: https://github.com/doctrine/doctrine2/pull/594
Message:
The way EntityGenerator handles add/edit methods is wrong.
Example:
class SomeEntity {
/** @ORM\OneToMany(...) **/
private $entries;
}
In this case the generator creates
addEntrie and removeEntrie methods. They should be be addEntry and removeEntry
This patch fixes that.
@doctrinebot commented on GitHub (Mar 1, 2013):
Comment created by @beberlei:
A related Github Pull-Request [GH-594] was closed
https://github.com/doctrine/doctrine2/pull/594
@doctrinebot commented on GitHub (Mar 1, 2013):
Comment created by @ocramius:
merged
@doctrinebot commented on GitHub (Mar 1, 2013):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (May 2, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-594] was closed:
https://github.com/doctrine/dbal/pull/594