Skip to content

Kirby 4.5.0

$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