Phactory\Mongo\Phactory::setInflection PHP Method

setInflection() public method

For example, if your collection of fish is called 'fishes', call setInflection('fish', 'fishes')
public setInflection ( $singular, $plural )
$singular singular form of the word.
$plural plural form of the word.
    public function setInflection($singular, $plural)
    {
        Inflector::addException($singular, $plural);
    }