public function Form::set in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::set()
Sets a named field.
Parameters
FormField $field The field:
2 calls to Form::set()
- Form::addField in vendor/
symfony/ dom-crawler/ Form.php - Form::initialize in vendor/
symfony/ dom-crawler/ Form.php - Adds form elements related to this form.
File
- vendor/
symfony/ dom-crawler/ Form.php, line 272
Class
- Form
- Form represents an HTML form.
Namespace
Symfony\Component\DomCrawlerCode
public function set(FormField $field) {
$this->fields
->add($field);
}