src/Console/Commands/AbstractGeneratorCommand.php
protected function getStubFor($implementationType)
    {
        return sprintf(
            '%s/%s/%s.stub',
            $this->stubsDirectory,
            $implementationType,
            Str::dasherize($this->type)
        );
    }
protected function getStubFor($implementationType)
    {
        return sprintf(
            '%s/%s/%s.stub',
            $this->stubsDirectory,
            $implementationType,
            Str::dasherize($this->type)
        );
    }
Get the stub for specific generator type

@param string $implementationType
@return string