Set the path to the file
Parameters
string $path Full path to the file:
Return value
self
Throws
InvalidArgumentException if the file cannot be read
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Message/PostFileInterface.php, line 36
Class
- PostFileInterface
- POST file upload
Namespace
Guzzle\Http\Message
Code
public function setFilename($path);