Skip to content

Kirby 4.5.0

F::base64()

Returns the file content as base64 encoded string

F::base64(string $file): string

Parameters

Name Type Default Description
$file * string The path for the file

Return type

string

Parent class

Kirby\Filesystem\F