Skip to content

Kirby 4.5.0

$filename->attributesToString()

Converts all processed attributes to a string, that can be used in the new filename

$filename->attributesToString(?string $prefix = null): string

Parameters

Name Type Default Description
$prefix string|null null The prefix will be used in the filename creation

Return type

string

Parent class

Kirby\Filesystem\Filename