protected function replaceModelName(&$stub, $modelName, $prefix = 'model_')
    {
        $englishSingle = $this->modelNamePlainEnglish($modelName);
        $plural = Str::plural($englishSingle);
        $stub = $this->strReplace($prefix . 'name', $englishSingle, $stub);
        $stub = $this->strReplace($prefix . 'name_flat', strtolower($modelName), $stub);
        $stub = $this->strReplace($prefix . 'name_sentence', ucfirst($englishSingle), $stub);
        $stub = $this->strReplace($prefix . 'name_plural', $plural, $stub);
        $stub = $this->strReplace($prefix . 'name_plural_title', Str::titleCase($plural), $stub);
        $stub = $this->strReplace($prefix . 'name_snake', snake_case($modelName), $stub);
        $stub = $this->strReplace($prefix . 'name_studly', studly_case($modelName), $stub);
        $stub = $this->strReplace($prefix . 'name_slug', str_slug($englishSingle), $stub);
        $stub = $this->strReplace($prefix . 'name_kebab', Str::kebabCase($modelName), $stub);
        $stub = $this->strReplace($prefix . 'name_title', Str::titleCase($englishSingle), $stub);
        $stub = $this->strReplace($prefix . 'name_title_lower', strtolower($englishSingle), $stub);
        $stub = $this->strReplace($prefix . 'name_title_upper', strtoupper($englishSingle), $stub);
        $stub = $this->strReplace($prefix . 'name_class', $modelName, $stub);
        $stub = $this->strReplace($prefix . 'name_plural_variable', $this->getPluralVariable($modelName), $stub);
        $stub = $this->strReplace($prefix . 'name_singular_variable', $this->getSingularVariable($modelName), $stub);

        return $this;
    }