Skip to content

Kirby 4.1.2

$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