code: protected function getHashGeneratorByDescription(OptionsInterface $options, $description)
      {
          if ($description === 'predis') {
              return new Hash\CRC16();
          } elseif ($description === 'phpiredis') {
              return new Hash\PhpiredisCRC16();
          } else {
              throw new \InvalidArgumentException(
                  'String value for the crc16 option must be either `predis` or `phpiredis`'
              );
          }
      }
docs: Returns an hash generator instance from a descriptive name.
  
  @param OptionsInterface $options     Client options.
  @param string           $description Identifier of a hash generator (`predis`, `phpiredis`)
  
  @return callable