\AdventureRes\PersistentDataAdventureResPersistentDataInterface

Summary

Methods
Constants
get()
set()
delete()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

get()

get(  $key, mixed  $defaultValue = null) : mixed

Gets a variable from the PHP Session.

Parameters

$key
mixed $defaultValue

If the key doesn't exist in the session, you can provide an optional default value.

Returns

mixed

set()

set(string  $key, mixed  $value) 

Sets a variable to the PHP Session.

Parameters

string $key
mixed $value

delete()

delete(  $key) 

Deletes a variable from the PHP Session.

Parameters

$key