File
class File extends File (View source)
Traits
FileHelpers |
Properties
protected string | $hashName | The cache copy of the file's hash name. | from FileHelpers |
Methods
string | path() Get the fully qualified path to the file. | from FileHelpers |
string | extension() Get the file's extension. | from FileHelpers |
string | clientExtension() Get the file's extension supplied by the client. | from FileHelpers |
string | hashName(string $path = null) Get a filename for the file. | from FileHelpers |
Details
string path()
Get the fully qualified path to the file.
string extension()
Get the file's extension.
string clientExtension()
Get the file's extension supplied by the client.
string hashName(string $path = null)
Get a filename for the file.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Http/File.html