Skip to content

Kirby 6.0.0

File::factory()

Constructs a File object

File::factory(array $props): File

Parameters

Name Type Default
$propsrequired array<string, mixed> no default value

Return type

Kirby\Cms\File

Parent class

Kirby\Cms\File