new Upload()
new Upload(string $api, string|null $accept = null, array $attributes = [ ], int|null $max = null, bool $multiple = true, array|bool|null $preview = null, int|null $sort = null, string|null $template = null)
Parameters
| Name | Type | Default |
|---|---|---|
| $apirequired | string |
no default value |
| $accept | stringornull |
null
|
| $attributes | array |
[ ]
|
| $max | intornull |
null
|
| $multiple | bool |
true
|
| $preview | arrayorboolornull |
null
|
| $sort | intornull |
null
|
| $template | stringornull |
null
|