File
Less than 1 minute
File
Properties
db
private BTree $db
index
private array $index
created
public int $created
compactInterval
private int $compactInterval = 3600
Methods
__construct
File rate limiter constructor.
public __construct(array $options = []): void
Parameters
Parameter | Type | Description |
---|---|---|
$options | array | the options for the file |
shutdown
public shutdown(): void
check
public check(string $identifier): void
Parameters
Parameter | Type | Description |
---|---|---|
$identifier | string |
get
public get(string $identifier): void
Parameters
Parameter | Type | Description |
---|---|---|
$identifier | string |
remove
public remove(string $identifier): void
Parameters
Parameter | Type | Description |
---|---|---|
$identifier | string |
Generated by Hazaar API Doc Generator