Skip to content

Kirby 4.4.1

$file->write()

Writes content to the file

$file->write(string $content): bool

Parameters

Name Type Default
$content * string

Return type

bool

Parent class

Kirby\Filesystem\File