FormFieldRegistry
FormFieldRegistry
class FormFieldRegistry
This is an internal class that must not be used directly.
Methods
add(FormField $field) Adds a field to the registry. | ||
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. | ||
FormField[] | all() Returns the list of field with their value. |
Details
add(FormField $field)
Adds a field to the registry.
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.
FormField[] all()
Returns the list of field with their value.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/DomCrawler/FormFieldRegistry.html