PHP Class Phan\Library\Hasher\Sequential

Inheritance: implements Phan\Library\Hasher
Mostra file Open project: etsy/phan Class Usage Examples

Protected Properties

Property Type Description
$_groupCount integer
$_i integer

Public Methods

Method Description
__construct ( integer $groupCount )
getGroup ( string $key ) : integer
reset ( ) : void Resets counter

Method Details

__construct() public method

public __construct ( integer $groupCount )
$groupCount integer

getGroup() public method

public getGroup ( string $key ) : integer
$key string
return integer - an integer between 0 and $this->_groupCount - 1, inclusive

reset() public method

Resets counter
public reset ( ) : void
return void

Property Details

$_groupCount protected_oe property

protected int $_groupCount
return integer

$_i protected_oe property

protected int $_i
return integer