code: public static function create(JsonDecoderClientInterface $client, ClientOptions $options): ResourcePoolInterface
      {
          if ($options->usesLowMemoryResourcePool()) {
              return new Standard($client->getApi(), $client->getSpaceId(), $client->getEnvironmentId());
          }
  
          return new Extended(
              $client,
              $options->getCacheItemPool(),
              $options->hasCacheAutoWarmup(),
              $options->hasCacheContent()
          );
      }
docs: Creates the appropriate ResourcePool object using the given client and options.
  
  @param JsonDecoderClientInterface $client
  @param ClientOptions              $options
  
  @return ResourcePoolInterface