PHP Interface Predis\Cluster\Hash\HashGeneratorInterface

Author: Daniele Alessandri ([email protected])
Mostrar archivo Open project: tillkruss/redis-object-cache

Public Methods

Method Description
hash ( string $value ) : integer Generates an hash from a string to be used for distribution.

Method Details

hash() public method

Generates an hash from a string to be used for distribution.
public hash ( string $value ) : integer
$value string String value.
return integer