original_string: protected function traverseTree(string $current_service, string $service)
      {
          if (isset($this->children[$current_service])) {
              return $this->children[$current_service]->get($service);
          }
  
          $config = $this->config->get($current_service);
          if (isset($config['services'])) {
              $this->children[$current_service] = new self($config['services'], $this, $this->service[ContainerInterface::class]);
  
              return $this->children[$current_service]->get($service);
          }
  
          return $this->get($service);
      }
code: protected function traverseTree(string $current_service, string $service)
      {
          if (isset($this->children[$current_service])) {
              return $this->children[$current_service]->get($service);
          }
  
          $config = $this->config->get($current_service);
          if (isset($config['services'])) {
              $this->children[$current_service] = new self($config['services'], $this, $this->service[ContainerInterface::class]);
  
              return $this->children[$current_service]->get($service);
          }
  
          return $this->get($service);
      }
code_tokens: protected function traverseTree ( string $ current_service , string $ service ) { if ( isset ( $ this -> children [ $ current_service ] ) ) { return $ this -> children [ $ current_service ] -> get ( $ service ) ; } $ config = $ this -> config -> get ( $ current_service ) ; if ( isset ( $ config [ 'services' ] ) ) { $ this -> children [ $ current_service ] = new self ( $ config [ 'services' ] , $ this , $ this -> service [ ContainerInterface :: class ] ) ; return $ this -> children [ $ current_service ] -> get ( $ service ) ; } return $ this -> get ( $ service ) ; }
docstring: Locate service.
docstring_tokens: Locate service .