- SessionInterface (interface)
- \Hichxm\SessionManager\SessionManager
- \Hichxm\SessionManager\Session\PHP_SESSION_MANAGER
Interface SessionInterface
Visibility | Function |
---|---|
public | __construct() : void SessionInterface constructor. |
public | get(string $key) : string/array/int/boolean/null Get value of $key |
public | set(string $key, string/array/int/boolean $value) : void Set value of $key |
public | start() : void Start session. |
public | stop() : void Stop current session. |
public | unset(string $key) : void Delete value of $key |
Class Session
Visibility | Function |
---|---|
public | __construct(\SessionInterface $SessionInterface) : void SessionManager constructor. |
public | get(string $key) : string/array/int/boolean/null Get value of $key |
public | offsetExists(mixed $offset) : boolean true on success or false on failure. The return value will be casted to boolean if non-boolean was returned. |
public | offsetGet(mixed $offset) : mixed Can return all value types. Offset to retrieve |
public | offsetSet(mixed $offset, mixed $value) : void Offset to set |
public | offsetUnset(mixed $offset) : void Offset to unset |
public | set(string $key, string/array/int/boolean $value) : void Set value of $key |
public | start() : void Start session. |
public | stop() : void Stop current session. |
public | unset(string $key) : void Delete value of $key |
This class implements \ArrayAccess
Class PHP_SESSION_MANAGER
Visibility | Function |
---|---|
public | __construct(array $options=array()) : void SessionInterface constructor. |
public | get(string $key) : string/array/int/boolean/null Get value of $key |
public | id() : string Return current session id. |
public | set(string $key, string/array/int/boolean $value) : void Set value of $key |
public | start() : void Start session. |
public | stop() : void Stop current session. |
public | unset(string $key) : void Delete value of $key |
This class implements \SessionInterface