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

Closed
doctrinebot opened this Issue Feb 28, 2013 · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

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

Url: #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

Comment created by @beberlei:

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

@doctrinebot

Comment created by @ocramius:

merged

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-594] was closed:
doctrine/dbal#594

@doctrinebot doctrinebot added this to the 2.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment