class
Illuminate
/
Http
/
UploadedFile
You are viewing an older version of the documentation. For the latest, please visit master documentation.
UploadedFile
Extends
-
Symfony\...\UploadedFile
Uses
Methods
public
store ( $path , $options ) : string|false
Store the uploaded file on a filesystem disk.
Parameters
- $path string
- $options array|string
public
storePublicly ( $path , $options ) : string|false
Store the uploaded file on a filesystem disk with public visibility.
Parameters
- $path string
- $options array|string
public
storePubliclyAs ( $path , $name , $options ) : string|false
Store the uploaded file on a filesystem disk with public visibility.
Parameters
- $path string
- $name string
- $options array|string
public
storeAs ( $path , $name , $options ) : string|false
Store the uploaded file on a filesystem disk.
Parameters
- $path string
- $name string
- $options array|string
public
get ( ) : false|string
Get the contents of the uploaded file.
public
clientExtension ( ) : string
Get the file's extension supplied by the client.
public
static
createFromBase ( Symfony\...\UploadedFile $file , $test ) : static
Create a new file instance from a base instance.
Parameters
- $file Symfony\...\UploadedFile
- $test bool
protected
parseOptions ( $options ) : array
Parse and format the given options.
Parameters
- $options array|string