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