Skip to content

StringUtil::singularify() does not convert "series" correctly #16532

Closed
@michal-szu

Description

@michal-szu

I've got problem with propertyAccessor.
I need to get singular form of property with name "DataSeries".
StringUtil::singularify() transfomrs it to "DataSery" but it should be "DataSerie".

Maybe you should do something like doctrine inflector (https://github.com/doctrine/inflector/blob/master/lib/Doctrine/Common/Inflector/Inflector.php).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions