original_string: public function generatePackageServiceProvider($config)
      {
          $provider = $this->fileService->get(__DIR__.'/../Templates/Provider.txt');
  
          foreach ($config as $key => $value) {
              $provider = str_replace($key, $value, $provider);
          }
  
          $provider = $this->putIfNotExists($config['_path_package_'].'/'.$config['_camel_case_'].'ServiceProvider.php', $provider);
  
          return $provider;
      }
code: public function generatePackageServiceProvider($config)
      {
          $provider = $this->fileService->get(__DIR__.'/../Templates/Provider.txt');
  
          foreach ($config as $key => $value) {
              $provider = str_replace($key, $value, $provider);
          }
  
          $provider = $this->putIfNotExists($config['_path_package_'].'/'.$config['_camel_case_'].'ServiceProvider.php', $provider);
  
          return $provider;
      }
code_tokens: public function generatePackageServiceProvider ( $ config ) { $ provider = $ this -> fileService -> get ( __DIR__ . '/../Templates/Provider.txt' ) ; foreach ( $ config as $ key => $ value ) { $ provider = str_replace ( $ key , $ value , $ provider ) ; } $ provider = $ this -> putIfNotExists ( $ config [ '_path_package_' ] . '/' . $ config [ '_camel_case_' ] . 'ServiceProvider.php' , $ provider ) ; return $ provider ; }
docstring: Create a service provider.
  
  @param array $config
  
  @return bool
docstring_tokens: Create a service provider .