interface FrequencyInterface

Methods

bool
hit(int $number = 1)

Record a number of hits.

float
frequency()

Calculate the average hits per second.

Details

at line 12
bool hit(int $number = 1)

Record a number of hits.

Parameters

int $number

Return Value

bool

at line 17
float frequency()

Calculate the average hits per second.

Return Value

float