public function Form::offsetSet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::offsetSet()
Sets the value of a field.
Parameters
string $name The field name:
string|array $value The value of the field:
Throws
\InvalidArgumentException if the field does not exist
File
- vendor/
symfony/ dom-crawler/ Form.php, line 321
Class
- Form
- Form represents an HTML form.
Namespace
Symfony\Component\DomCrawlerCode
public function offsetSet($name, $value) {
$this->fields
->set($name, $value);
}