public function UploadedFileInterface::getClientFilename in Lockr 7.3
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.
1 method overrides UploadedFileInterface::getClientFilename()
- UploadedFile::getClientFilename in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php
File
- vendor/
psr/ http-message/ src/ UploadedFileInterface.php, line 107
Class
- UploadedFileInterface
- Value object representing a file uploaded through an HTTP request.
Namespace
Psr\Http\MessageCode
public function getClientFilename();