public function FileFormField::setFilePath in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dom-crawler/Field/FileFormField.php \Symfony\Component\DomCrawler\Field\FileFormField::setFilePath()
Sets path to the file as string for simulating HTTP request.
Parameters
string $path The path to the file:
File
- vendor/
symfony/ dom-crawler/ Field/ FileFormField.php, line 86
Class
- FileFormField
- FileFormField represents a file form field (an HTML file input tag).
Namespace
Symfony\Component\DomCrawler\FieldCode
public function setFilePath($path) {
parent::setValue($path);
}