Method | Description | |
---|---|---|
__construct ( integer $ticks, string $unit ) | Sets the amount of ticks which will be produced per unit. | |
getTicks ( ) : float | It returns the number of ticks per second basically. |
public __construct ( integer $ticks, string $unit ) | ||
$ticks | integer | The amount of ticks per unit |
$unit | string | The unit as one of Rate's constants |