$user->createFile()
Creates a new file
$user->createFile(array $props, bool $move = false): Kirby\Cms\File
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $props * | array |
– | |
| $move | bool |
false |
If set to true, the source will be deleted |