Method | Description | |
---|---|---|
clear ( ) | {@inheritDoc} | |
fromDecodedTokenData ( stdClass $data ) : self | ||
fromTokenData ( array $data ) : self | ||
get ( string $key, $default = null ) | {@inheritDoc} | |
has ( string $key ) : boolean | {@inheritDoc} | |
hasChanged ( ) : boolean | {@inheritDoc} | |
isEmpty ( ) : boolean | {@inheritDoc} | |
jsonSerialize ( ) | {@inheritDoc} | |
newEmptySession ( ) : self | ||
remove ( string $key ) | {@inheritDoc} | |
set ( string $key, $value ) | {@inheritDoc} |
Method | Description | |
---|---|---|
__construct ( ) | Instantiation via __construct is not allowed, use - {@see DefaultSessionData::fromDecodedTokenData} - {@see DefaultSessionData::fromTokenData} - {@see DefaultSessionData::newEmptySession} instead | |
convertValueToScalar ( integer | boolean | string | float | array | object | JsonSerializable $value ) : integer | boolean | string | float | array |
public static fromDecodedTokenData ( stdClass $data ) : self | ||
$data | stdClass | |
return | self |
public static fromTokenData ( array $data ) : self | ||
$data | array | |
return | self |