extends |
ArrayWrapper |
|---|
A wrapper around an array used to store the state of a form.
Form states are typically serialised through SimpleID\Util\SecurityToken
and then passed around
| Methods | ||
|---|---|---|
public
|
__construct(array<mixed> $data = [])
|
# |
public
|
setRequest(ArrayWrapper $request): void
|
# |
public
|
getRequest(): ArrayWrapper
|
# |
public
|
setResponse(ArrayWrapper $response): void
|
# |
public
|
getResponse(): ArrayWrapper
|
# |
public
|
encode(): array<mixed>
|
# |
public
static
|
decode(array<string, array<mixed>> $data, string $request_class = null, string $response_class = null): FormState
|
# |
| Methods inherited from SimpleID\Util\ArrayWrapper |
|---|
loadData(), toArray(), offsetSet(), offsetExists(), offsetUnset(), offsetGet(), __set(), count(), getIterator(), get(), exists(), set(), append(), unset(), ref(), refLimit(), splitPath() |
| Constants | |||
|---|---|---|---|
public
|
REQUEST_KEY = 'rq'
|
# | |
public
|
RESPONSE_KEY = 'rs'
|
# | |
| Properties inherited from SimpleID\Util\ArrayWrapper |
|---|
$container |