public function PostFileInterface::setFilename

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

1 method overrides PostFileInterface::setFilename()
PostFile::setFilename in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/PostFile.php
Set the path to the file

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);