new File()
Constructor sets all file properties
new File(array|string|null $props = null, string $url = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $props | array|string|null |
null |
Properties or deprecated $root string |
| $url | string |
null |
Deprecated argument, use $props['url'] instead |