original_string: protected function setInitialProviders()
      {
          $app = $this->getBaseApp();
          $providers = $this->config->get('swoole_http.providers', []);
  
          foreach ($providers as $provider) {
              if (class_exists($provider) && ! in_array($provider, $this->providers)) {
                  $providerClass = new $provider($app);
                  $this->providers[$provider] = $providerClass;
              }
          }
      }
code: protected function setInitialProviders()
      {
          $app = $this->getBaseApp();
          $providers = $this->config->get('swoole_http.providers', []);
  
          foreach ($providers as $provider) {
              if (class_exists($provider) && ! in_array($provider, $this->providers)) {
                  $providerClass = new $provider($app);
                  $this->providers[$provider] = $providerClass;
              }
          }
      }
code_tokens: protected function setInitialProviders ( ) { $ app = $ this -> getBaseApp ( ) ; $ providers = $ this -> config -> get ( 'swoole_http.providers' , [ ] ) ; foreach ( $ providers as $ provider ) { if ( class_exists ( $ provider ) && ! in_array ( $ provider , $ this -> providers ) ) { $ providerClass = new $ provider ( $ app ) ; $ this -> providers [ $ provider ] = $ providerClass ; } } }
docstring: Initialize customized service providers.
docstring_tokens: Initialize customized service providers .