Skip to content

Kirby 3.5.7.1

FileActions::create()

Creates a new file on disk and returns the File object. The store is used to handle file writing, so it can be replaced by any other way of generating files.

FileActions::create(array $props): Kirby\Cms\FileActions

Parameters

Name Type Default
$props * array

Return type

Kirby\Cms\FileActions

Exceptions

Parent class

Kirby\Cms\FileActions