Doctrine Common
  1. Doctrine Common
  2. DCOM-147

[GH-227] [DDC-2160] Smart Pluralize/Singularize support for Doctrine/Common/Util/Inflector

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description

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

      Url: https://github.com/doctrine/common/pull/227

      Message:

      Doctrine/ORM/Tools/EntityGenerator should pluralize/signularize correctly.

      This PR adds functionality to Doctrine/Common/Util/Inflector to singularize/pluralize. The code is largely borrowed from a similar class in the CakePHP project - I'm not sure if the updates to the class doc covers the requirements for this.

      Test coverage also added.

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: