Property | Type | Description | |
---|---|---|---|
$key | string | The session key. |
Method | Description | |
---|---|---|
__construct ( string $key = null ) : void | Creates a new native session driver for Sentinel. | |
__destruct ( ) : void | Called upon destruction of the native session handler. | |
forget ( ) | {@inheritDoc} | |
get ( ) | {@inheritDoc} | |
put ( $value ) | {@inheritDoc} |
Method | Description | |
---|---|---|
forgetSession ( ) : void | Forgets the Sentinel session from the global $_SESSION. | |
getSession ( ) : mixed. | Unserializes a value from the session and returns it. | |
setSession ( mixed $value ) : void | Interacts with the $_SESSION global to set a property on it. | |
startSession ( ) : void | Starts the session if it does not exist. | |
writeSession ( ) : void | Writes the session. |
public __construct ( string $key = null ) : void | ||
$key | string | |
return | void |
public __destruct ( ) : void | ||
return | void |
protected forgetSession ( ) : void | ||
return | void |
protected getSession ( ) : mixed. | ||
return | mixed. |
protected setSession ( mixed $value ) : void | ||
$value | mixed | |
return | void |
protected startSession ( ) : void | ||
return | void |