original_string: protected function createServiceClient(string $name, array $options = []): ServiceInterface
      {
          $entry = $this->manifest->getService($name);
          # we check for the manifest entry
          if (empty($entry)) {
              throw new ResourceNotFoundException('Could not find the client for the requested service '.$name);
          }
          $service = $entry['namespace'] . '\\' . $entry['client'];
          return new $service($this, $options);
      }
code: protected function createServiceClient(string $name, array $options = []): ServiceInterface
      {
          $entry = $this->manifest->getService($name);
          # we check for the manifest entry
          if (empty($entry)) {
              throw new ResourceNotFoundException('Could not find the client for the requested service '.$name);
          }
          $service = $entry['namespace'] . '\\' . $entry['client'];
          return new $service($this, $options);
      }
code_tokens: protected function createServiceClient ( string $ name , array $ options = [ ] ) : ServiceInterface { $ entry = $ this -> manifest -> getService ( $ name ) ; # we check for the manifest entry if ( empty ( $ entry ) ) { throw new ResourceNotFoundException ( 'Could not find the client for the requested service ' . $ name ) ; } $ service = $ entry [ 'namespace' ] . '\\' . $ entry [ 'client' ] ; return new $ service ( $ this , $ options ) ; }
docstring: Creates a new service client with the provided options.
  
  @param string $name
  @param array  $options
  
  @return ServiceInterface
docstring_tokens: Creates a new service client with the provided options .