UploadedFile
class UploadedFile extends UploadedFile (View source)
Traits
Methods
static
mixed
__callStatic(
string $method,
array $parameters)
Dynamically handle calls to the class.
from Macroable
mixed
__call(
string $method,
array $parameters)
Dynamically handle calls to the class.
from Macroable
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 that is the MD5 hash of the contents.
static
UploadedFile
createFromBase(
UploadedFile $file)
Create a new file instance from a base instance.
Details
static
mixed
__callStatic(
string $method,
array $parameters)
Dynamically handle calls to the class.
at line line 48
string
hashName(
string $path = null)
Get a filename for the file that is the MD5 hash of the contents.
at line line 63
static
UploadedFile
createFromBase(
UploadedFile $file)
Create a new file instance from a base instance.