[DDC-2325] [GH-594] Use inflector in EntityGenerator Created: 28/Feb/13  Updated: 02/May/14  Resolved: 01/Mar/13

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4
Security Level: All

Type: Improvement Priority: Major
Reporter: Benjamin Eberlei Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
Labels: None


 Description   

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.



 Comments   
Comment by Benjamin Eberlei [ 01/Mar/13 ]

A related Github Pull-Request [GH-594] was closed
https://github.com/doctrine/doctrine2/pull/594

Comment by Marco Pivetta [ 01/Mar/13 ]

merged

Comment by Doctrine Bot [ 02/May/14 ]

A related Github Pull-Request [GH-594] was closed:
https://github.com/doctrine/dbal/pull/594

Generated at Thu Sep 03 09:12:58 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.