function FormField::setValue
Sets the value of the field.
4 calls to FormField::setValue()
- ChoiceFormField::setValue in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Sets the value of the field.
- ChoiceFormField::setValue in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Sets the value of the field.
- FileFormField::setFilePath in vendor/
symfony/ dom-crawler/ Field/ FileFormField.php - Sets path to the file as string for simulating HTTP request.
- FileFormField::setFilePath in vendor/
symfony/ dom-crawler/ Field/ FileFormField.php - Sets path to the file as string for simulating HTTP request.
2 methods override FormField::setValue()
- ChoiceFormField::setValue in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Sets the value of the field.
- FileFormField::setValue in vendor/
symfony/ dom-crawler/ Field/ FileFormField.php - Sets the value of the field.
File
-
vendor/
symfony/ dom-crawler/ Field/ FormField.php, line 77
Class
- FormField
- FormField is the abstract class for all form fields.
Namespace
Symfony\Component\DomCrawler\FieldCode
public function setValue(?string $value) : void {
$this->value = $value ?? '';
}