public function UploadedFile::getClientFilename in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/UploadedFile.php \Zend\Diactoros\UploadedFile::getClientFilename()
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/UploadedFile.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\UploadedFile::getClientFilename()
Same name and namespace in other branches
- 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/UploadedFile.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\UploadedFile::getClientFilename()
Retrieve the filename sent by the client.
Do not trust the value returned by this method. A client could send a malicious filename with the intention to corrupt or hack your application.
Implementations SHOULD return the value stored in the "name" key of the file in the $_FILES array.
Return value
string|null The filename sent by the client or null if none was provided.
Overrides UploadedFileInterface::getClientFilename
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ UploadedFile.php, line 56
Class
- UploadedFile
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function getClientFilename() {
return $this->clientFileName;
}