private function createServiceProvider()
    {
        $serviceProviderClass = $this->moduleName . "ServiceProvider";
        $serviceProviderFileName = $serviceProviderClass . '.php';
        $serviceProviderPath = $this->moduleDirectory . DIRECTORY_SEPARATOR . $serviceProviderFileName;

        if (file_exists($serviceProviderPath) && $this->isForce == false) {
            $this->info($serviceProviderFileName . ' file exists. Skip.');
            return $serviceProviderPath;
        }

        $serviceProviderContent = $this->generateServiceProviderContent();
        file_put_contents($serviceProviderPath, $serviceProviderContent);
        $this->info('ServiceProvider file is set: ' . $serviceProviderFileName);
        $this->line($serviceProviderPath);

        return $serviceProviderPath;
    }