interface StateStore (View source)

Methods

public
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

public
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