MyApcu
in package
Table of Contents
- $active : bool|null
- Is active or not
- $enabled : bool
- Is general enabled
- $prefix : string|null
- The system prefix string
- Active() : bool|null
- Is enabled and active
- Get() : mixed|null
- Getter storage data
- Purge() : void
- Clear the whole storage
- Set() : array<string|int, mixed>|bool
- Setter of storage var
- Prefix() : string|null
- Get teh prefix path
Properties
$active
Is active or not
private
static bool|null
$active
= \null
$enabled
Is general enabled
private
static bool
$enabled
= \FAA_APCU_ENABLED
$prefix
The system prefix string
private
static string|null
$prefix
= \null
Methods
Active()
Is enabled and active
public
static Active() : bool|null
Return values
bool|null —Get()
Getter storage data
public
static Get(string $key[, bool $force = false ]) : mixed|null
Parameters
- $key : string
- $force : bool = false
Return values
mixed|null —Purge()
Clear the whole storage
public
static Purge() : void
Return values
void —Set()
Setter of storage var
public
static Set(string $key, mixed $data[, bool $force = false ]) : array<string|int, mixed>|bool
Parameters
- $key : string
-
The key to store in
- $data : mixed
-
The object to store
- $force : bool = false
-
Override active state
Return values
array<string|int, mixed>|bool —Prefix()
Get teh prefix path
private
static Prefix() : string|null