ReflectionExtractor currently supports array mutators (add, remove) but it's not very useful as the singular method name is not being checked.
If we can use doctrine/inflector to singularize the property name, we'll be able to pick up a lot more useful information in many cases. I'll open a PR if this is desirable (looking at the composer.json of Symfony components, I understand that it has to be an optional dependency).
ReflectionExtractorcurrently supports array mutators (add,remove) but it's not very useful as the singular method name is not being checked.If we can use
doctrine/inflectorto singularize the property name, we'll be able to pick up a lot more useful information in many cases. I'll open a PR if this is desirable (looking at thecomposer.jsonof Symfony components, I understand that it has to be an optional dependency).