19 declare(strict_types=1);
33 if (!is_array($frm_sess)) {
37 if (!isset($frm_sess[$this->key]) || !is_array($frm_sess[$this->key])) {
48 public function get(
int $thread_id, $default = null)
52 return $frm_sess[
$this->key][$thread_id] ?? $default;
58 public function set(
int $thread_id, $value):
void
static get(string $a_var)
__construct(private string $key)
static set(string $a_var, $a_val)
Set a value.