FormFieldRegistry
class FormFieldRegistry
This is an internal class that must not be used directly.
Methods
remove(string $name)
Removes a field and its children from the registry.
mixed
get(string $name)
Returns the value of the field and its children.
bool
has(string $name)
Tests whether the form has the given field.
set(string $name, mixed $value)
Set the value of a field and its children.
Details
at line line 32
add(FormField $field)
Adds a field to the registry.
at line line 58
remove(string $name)
Removes a field and its children from the registry.
at line line 82
mixed
get(string $name)
Returns the value of the field and its children.
at line line 104
bool
has(string $name)
Tests whether the form has the given field.
at line line 124
set(string $name, mixed $value)
Set the value of a field and its children.
at line line 144
FormField[]
all()
Returns the list of field with their value.