Skip to content


DDC-2325: [GH-594] Use inflector in EntityGenerator #3029

doctrinebot opened this Issue · 4 comments

2 participants


Jira issue originally created by user @beberlei:

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

Url: #594


The way EntityGenerator handles add/edit methods is wrong.


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.


Comment created by @beberlei:

A related Github Pull-Request [GH-594] was closed


Comment created by @ocramius:



Issue was closed with resolution "Fixed"


Comment created by @doctrinebot:

A related Github Pull-Request [GH-594] was closed:

@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.