new FileVersion()
Constructor sets all file properties
new FileVersion(array $props)
Parameters
| Name | Type | Default |
|---|---|---|
| $props * | array |
– |
For the $props parameter, you pass an array with the following data, which will be used to set up the Kirby\Cms\FileVersion object:
| Name | Type | Description |
|---|---|---|
| modifications | array |
Setter for modifications |
| original * | Setter for the original File object | |
| root | string |
Setter for the root |
| url * | string |
Setter for the file url |