PHP Interface Phan\Library\Hasher

getGroup() is called exactly once on each string to be hashed.
Show file Open project: etsy/phan

Public Methods

Method Description
getGroup ( string $key ) : integer Returns an integer between 0 and the number of groups - 1
reset ( ) : void

Method Details

getGroup() public method

Returns an integer between 0 and the number of groups - 1
public getGroup ( string $key ) : integer
$key string
return integer

reset() public method

public reset ( ) : void
return void If there is any state, clear it.