Hello! I've a problem when trying to use the ->build() method in a object. Here's an example
$emp -> new Empleado(2);
$fami = $emp->buildFamiliarEmpleados(); # error here because the function it's called buildFamiliarEmpleadoes
var_dump($emp->reflect()); # In here I find the "Empleadoes"
As you can see, there's a problem with the singular expression in my language. Flourish create a function called buildFamiliarEmpleadoes when it must be buildFamiliarEmpleados. That's OK because Flourish talk in English and I in Spanish, but I can't fix the method using fGrammar...
In my source I've
fORM::mapClassToTable('FamiliarEmpleado', 'familiares_empleados'); # Works fine with the DB
And try with fGrammar to fix the name of that method but without lucky
fGrammar::addSingularPluralRule('FamiliarEmpleado', 'FamiliarEmpleados');
echo fGrammar::pluralize('FamiliarEmpleado'); # This return FamiliarEmpleadoes! Why!?
Thanks in advanced!
EDIT: mark as solved.