$file->clone()
Creates an instance with the same initial properties.
$file->clone(array $props = [ ]): Kirby\Cms\File
Parameters
Name | Type | Default | Description |
---|---|---|---|
$props |
array |
[ ] |
Return type
Inherited from
Kirby\Cms\Model