Auth0-PHP

StoreInterface
in

Interface StoreInterface.

Table of Contents

defer()  : void
Defer saving state changes to destination to improve performance during blocks of changes.
delete()  : void
Remove a value from the store.
get()  : mixed
Get a value from the store by a given key.
purge()  : void
Remove all stored values.
set()  : void
Set a value on the store.

Methods

defer()

Defer saving state changes to destination to improve performance during blocks of changes.

public defer(bool $deferring) : void
Parameters
$deferring : bool
Return values
void

delete()

Remove a value from the store.

public delete(string $key) : void
Parameters
$key : string

key to delete

Return values
void

get()

Get a value from the store by a given key.

public get(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string

key to get

$default : mixed = null

return value if key not found

Return values
mixed

purge()

Remove all stored values.

public purge() : void
Return values
void

set()

Set a value on the store.

public set(string $key, mixed $value) : void
Parameters
$key : string

key to set

$value : mixed

value to set

Return values
void

Search results