interface StateStore (View source)

Methods

array
save(string $id, array $state)

Save the given state against the given ID returning an associative array to be added as attributes on the form action

array
load(string $id)

Load state for a given ID

Details

array save(string $id, array $state)

Save the given state against the given ID returning an associative array to be added as attributes on the form action

Parameters

string $id
array $state

Return Value

array

array load(string $id)

Load state for a given ID

Parameters

string $id

Return Value

array