$hasfiles->createFile()
Creates a new file
Parameters
Name | Type | Default | Description |
---|---|---|---|
$props * | array |
– | |
$move | bool |
false |
If set to true , the source will be deleted |
Return type
Parent class
Kirby\Cms\HasFiles