$file->save()
Stores the content on disk
$file->save(array $data = null, string $languageCode = null, bool $overwrite = false): Kirby\Cms\File
Parameters
Name | Type | Default | Description |
---|---|---|---|
$data |
array |
null |
|
$languageCode |
string |
null |
|
$overwrite |
bool |
false |
Return type
Inherited from
Kirby\Cms\ModelWithContent