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);
    }
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);
    }
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 ) ; }
Creates a new resource client with the provided options.

@param string $name
@param array  $options

@return ResourceInterface
Creates a new resource client with the provided options .