Documentation du code de SPIP et de ses plugins

SPIP

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

Methods

__construct()

public __construct(array<string|int, mixed> $keys) : mixed
Parameters
$keys : array<string|int, mixed>

delete()

public delete(string $name) : bool
Parameters
$name : string
Return values
bool

generate()

public generate(string $name) : string
Parameters
$name : string
Return values
string

get()

public get(string $name) : string|null
Parameters
$name : string
Return values
string|null

has()

public has(string $name) : bool
Parameters
$name : string
Return values
bool

set()

public set(string $name, string $key) : void
Parameters
$name : string
$key : string

toJson()

public toJson() : string
Return values
string

        
On this page

Search results