Class Session
Manages the $_SESSION global with getters, setters and destructors.
Namespace: Core\Providers
Package: Core
Usage: Please see \Core\Session::__callStatic
Located at app/Kernel/Providers/Session.php
Package: Core
Usage: Please see \Core\Session::__callStatic
Located at app/Kernel/Providers/Session.php
public static
mixed
|
|
public static
mixed
|
|
public static
mixed
|
|
public static
null
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
mixed
|
#
isAuthenticated( )
Returns whether the user is authenticated or not. If it is, returns its role (__ROLE_<role>__) |
public static
mixed
|
#
__callStatic( string $methodName, mixed $args )
Manages all getters, setters and destroyers for Session. Use getFoo(), getFoo('bar') or cleanFoo(). See example for more details and how to use. |
protected static
|
$roleGuest
|
#
__ROLE_GUEST__
|
protected static
|
$roleUser
|
#
__ROLE_USER__
|
protected static
|
$roleAdmin
|
#
__ROLE_ADMIN__
|