bandwidthThrottle\tokenBucket\util\TokenConverter::__construct PHP Method

__construct() public method

Sets the token rate.
public __construct ( Rate $rate )
$rate bandwidthThrottle\tokenBucket\Rate The rate.
    public function __construct(Rate $rate)
    {
        $this->rate = $rate;
    }