ACMS_Session
in package
ACMS_Session is deprecated. Use Acms\Services\Facades\Session instead.
Table of Contents
Properties
Methods
- clear() : void
- Clear
- delete() : void
- Delete
- get() : bool
- Get
- save() : void
- Save
- set() : void
- Set
- singleton() : mixed
- __construct() : mixed
- ACMS_Session constructor.
Properties
$instance
protected
static mixed
$instance
= []
$session
protected
mixed
$session
= \null
Methods
clear()
Clear
public
clear() : void
delete()
Delete
public
delete(string $key) : void
Parameters
- $key : string
get()
Get
public
get(string $key) : bool
Parameters
- $key : string
Return values
boolsave()
Save
public
save() : void
set()
Set
public
set(string $key, mixed $val) : void
Parameters
- $key : string
- $val : mixed
singleton()
public
static singleton([mixed $config = [] ]) : mixed
Parameters
- $config : mixed = []
__construct()
ACMS_Session constructor.
private
__construct() : mixed