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