src/Seed/Creator/SeedCreator.php
protected function populateStub(string $stub, ?string $class = null): string
    {
        return str_replace('{class}', $this->getName($class), $stub);
    }
protected function populateStub(string $stub, ?string $class = null): string
    {
        return str_replace('{class}', $this->getName($class), $stub);
    }
Populate the place-holders in the seed stub.

@param  string $stub
@param string|null $class
@return string