Skip to content

Latest commit

 

History

History
132 lines (60 loc) · 1.82 KB

store.md

File metadata and controls

132 lines (60 loc) · 1.82 KB

store

It's a class that's used to dispatch events.

  • Full name: \yxorP\lib\http\store

Methods

handler

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

check

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

get

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

set

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