Skip to content

Kirby 4.2.0

$image->write()

Writes content to the file

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

Parameters

Name Type Default
$content * string

Return type

bool

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File