public static function getProperCaseFor($modelName, $key = null)
    {
        $snake = snake_case($modelName);

        if (Config::shouldBePlural($key)) {
            return Str::plural($snake);
        }

        return $snake;
    }
public static function getProperCaseFor($modelName, $key = null)
    {
        $snake = snake_case($modelName);

        if (Config::shouldBePlural($key)) {
            return Str::plural($snake);
        }

        return $snake;
    }
public static function getProperCaseFor ( $ modelName , $ key = null ) { $ snake = snake_case ( $ modelName ) ; if ( Config :: shouldBePlural ( $ key ) ) { return Str :: plural ( $ snake ) ; } return $ snake ; }
Makes the proper english case given a model name and a file type

@param string $modelName
@param string $key

@return string
Makes the proper english case given a model name and a file type