STORAGE

Methods

(static) get($name) → {any}

Description:
  • Gets the stored data with the given name.
Source:
Parameters:
Name Type Description
$name string The name of the stored data to get.
Returns:
Type
any

(static) has($name) → {boolean}

Description:
  • Checks if the storage has data stored with the given name.
Source:
Parameters:
Name Type Description
$name string The name of the stored data to check.
Returns:
Type
boolean

(static) remove($name)

Description:
  • Removes the stored data with the given name.
Source:
Parameters:
Name Type Description
$name string The name of the stored data to remove.

(static) set($name, $value)

Description:
  • Sets the data to store with the given name.
Source:
Parameters:
Name Type Description
$name string The name of the data to store.
$value any The value of the data to store.