HashGeneratorInterface
in
An hash generator implements the logic used to calculate the hash of a key to distribute operations among Redis nodes.
Tags
Table of Contents
- hash() : int
- Generates an hash from a string to be used for distribution.
Methods
hash()
Generates an hash from a string to be used for distribution.
public
hash(string $value) : int
Parameters
- $value : string
-
String value.