$hasfiles->createFile() Creates a new file kirby/src/Cms/HasFiles.php#L62 $hasfiles->createFile(array $props): Kirby\Cms\File Parameters Name Type Default $props * array – Return type Kirby\Cms\File Parent class Kirby\Cms\HasFiles