Skip to content

Kirby 4.5.0

new Filename()

Creates a new Filename object

new Filename(string $filename, string $template, array $attributes = [ ], ?string $language = null)

Parameters

Name Type Default Description
$filename * string
$template * string for the final name
$attributes array [ ] List of all applicable attributes
$language string|null null

Parent class

Kirby\Filesystem\Filename