public function toPlural($language = 'en')
    {
        if (!class_exists('\\ICanBoogie\\Inflector'))
        {
            throw new \RuntimeException
            (
                "This method requires ICanBoogie\Inflector. ".
                "Install with: composer require icanboogie/inflector"
            );
        }

        return $this->newSelf
        (
            \ICanBoogie\Inflector::get($language)
            ->pluralize($this->scalarString)
        );
    }
public function toPlural($language = 'en')
    {
        if (!class_exists('\\ICanBoogie\\Inflector'))
        {
            throw new \RuntimeException
            (
                "This method requires ICanBoogie\Inflector. ".
                "Install with: composer require icanboogie/inflector"
            );
        }

        return $this->newSelf
        (
            \ICanBoogie\Inflector::get($language)
            ->pluralize($this->scalarString)
        );
    }
public function toPlural ( $ language = 'en' ) { if ( ! class_exists ( '\\ICanBoogie\\Inflector' ) ) { throw new \ RuntimeException ( "This method requires ICanBoogie\Inflector. " . "Install with: composer require icanboogie/inflector" ) ; } return $ this -> newSelf ( \ ICanBoogie \ Inflector :: get ( $ language ) -> pluralize ( $ this -> scalarString ) ) ; }
Returns the plural version of the word.

@param  string $language The language for the inflector.

@return static
Returns the plural version of the word .