public function FormField::setValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Field/FormField.php \Symfony\Component\DomCrawler\Field\FormField::setValue()
Sets the value of the field.
Parameters
string $value The value of the field:
2 calls to FormField::setValue()
- 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.
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 85
Class
- FormField
- FormField is the abstract class for all form fields.
Namespace
Symfony\Component\DomCrawler\FieldCode
public function setValue($value) {
$this->value = (string) $value;
}