public function FileFormField::upload in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Field/FileFormField.php \Symfony\Component\DomCrawler\Field\FileFormField::upload()
Sets the value of the field.
Parameters
string $value The value of the field:
File
- vendor/
symfony/ dom-crawler/ Field/ FileFormField.php, line 43
Class
- FileFormField
- FileFormField represents a file form field (an HTML file input tag).
Namespace
Symfony\Component\DomCrawler\FieldCode
public function upload($value) {
$this
->setValue($value);
}