FileBag
final class FileBag (View source)
Exposes uploaded-file input without interpreting or restructuring its values.
Methods
__construct(array $files = [])
Stores the uploaded-file map for read-only access.
all()
Returns the complete uploaded-file map.
array
get(string $name)
Returns one uploaded-file value or null when the name is absent.
mixed
Details
__construct
__construct(array $files = [])
Stores the uploaded-file map for read-only access.
all
array
all()
Returns the complete uploaded-file map.
get
mixed
get(string $name)
Returns one uploaded-file value or null when the name is absent.