src/Parser.php
private function pluralize($singular)
    {
        if (null === $this->pluralizer) {
            return $singular;
        }

        return call_user_func($this->pluralizer, $singular);
    }
private function pluralize($singular)
    {
        if (null === $this->pluralizer) {
            return $singular;
        }

        return call_user_func($this->pluralizer, $singular);
    }
private function pluralize ( $ singular ) { if ( null === $ this -> pluralizer ) { return $ singular ; } return call_user_func ( $ this -> pluralizer , $ singular ) ; }
Attempt to pluralize a string.

@param string $singular

@return string
Attempt to pluralize a string .