Cles
in package
implements
Countable
Conteneur de clés (chiffrement, authentification)
Table of Contents
Interfaces
- Countable
Properties
- $keys : array<string|int, mixed>
Methods
- __construct() : mixed
- count() : int
- delete() : bool
- generate() : string
- get() : string|null
- has() : bool
- set() : void
- toJson() : string
Properties
$keys
private
array<string|int, mixed>
$keys
Methods
__construct()
public
__construct(array<string|int, mixed> $keys) : mixed
Parameters
- $keys : array<string|int, mixed>
count()
public
count() : int
Return values
intdelete()
public
delete(string $name) : bool
Parameters
- $name : string
Return values
boolgenerate()
public
generate(string $name) : string
Parameters
- $name : string
Return values
stringget()
public
get(string $name) : string|null
Parameters
- $name : string
Return values
string|nullhas()
public
has(string $name) : bool
Parameters
- $name : string
Return values
boolset()
public
set(string $name, string $key) : void
Parameters
- $name : string
- $key : string
toJson()
public
toJson() : string