Session
in package
FinalYes
Permite gestionar la sesión del usuario.
Table of Contents
Properties
- $data : mixed
Methods
- clear() : void
- get() : mixed
- getClientIp() : string
- permissions() : ControllerPermissions
- set() : void
- user() : User
Properties
$data
private
static mixed
$data
= []
Methods
clear()
public
static clear() : void
get()
public
static get(string $key) : mixed
Parameters
- $key : string
getClientIp()
public
static getClientIp() : string
Return values
stringpermissions()
public
static permissions() : ControllerPermissions
Return values
ControllerPermissionsset()
public
static set(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
user()
public
static user() : User