$file->writeContent()
Low level data writer method to store the given data on disk or anywhere else
$file->writeContent(array $data, string $languageCode = null): bool
Parameters
Name | Type | Default | Description |
---|---|---|---|
$data |
array |
– | |
$languageCode |
string |
null |
Return type
bool
Inherited from
Kirby\Cms\ModelWithContent