It's a class that's used to dispatch events.
- Full name:
\yxorP\lib\http\store
Try get perm else store value or execute function, set perm and return values
final public static handler(string $name, mixed $value = null, string|null $func = null, array $varibles = []): mixed
-
This method is static.
-
This method is final.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | |
$value |
mixed | |
$func |
string|null | |
$varibles |
array |
Try get perm else store value or execute function, set perm and return values
private static check(string $name, mixed $value = null, string|null $func = null, array $varibles = []): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | |
$value |
mixed | |
$func |
string|null | |
$varibles |
array |
It's setting the value of the variable $name to the value of the variable $_value.
private static get(string $name): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string |
It's setting the value of the variable $name to the value of the variable $_value.
private static set(string $name, mixed $value, string|null $func = null, array $varibles = []): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | |
$value |
mixed | |
$func |
string|null | |
$varibles |
array |