RateConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $amount : mixed
- $interval : mixed
Methods
- __construct() : mixed
- amount() : $this
- Amount of tokens to add each interval
- interval() : $this
- Configures the rate interval. The value must be a number followed by "second", "minute", "hour", "day", "week" or "month" (or their plural equivalent).
- toArray() : array<string|int, mixed>
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$amount
private
mixed
$amount
$interval
private
mixed
$interval
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
amount()
Amount of tokens to add each interval
public
amount(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisinterval()
Configures the rate interval. The value must be a number followed by "second", "minute", "hour", "day", "week" or "month" (or their plural equivalent).
public
interval(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>