com\setasign\SetaFramework\Session
LazySession Class LazySession
File: /SetaFramework/src/Session/LazySession.php
Class hierarchy
Implements
Summary
Properties
$constructorParams
private array{namespace: string} LazySession::$constructorParams
$instance
private ?Session LazySession::$instance
Methods
__get()
Magic method to get a value from the $_SESSION array.
Parameters
- $name : string
Exceptions
Throws SessionException
__isset()
__set()
Magic method to set a value to the $_SESSION array.
Parameters
- $name : string
- $value : mixed
Exceptions
Throws SessionException
__unset()
destroy()
get()
Gets the value for the key $name.
Parameters
- $name : string
- $default : mixed
Exceptions
Throws SessionException
getNamespace()
set()
Sets the value for the key $name.
Parameters
- $name : string
- $value : mixed
Exceptions
Throws SessionException
