Skip to content

Kirby 5.0.4

$filename->attributesToString()

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

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

Parameters

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

Return type

string

This method modifies the existing $filename object it is applied to and returns it again.

Parent class

Kirby\Filesystem\Filename