F::append()
Appends new content to an existing file
F::append(string $file, mixed $content): bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $filerequired | string |
no default value | The path for the file |
| $contentrequired | mixed |
no default value | Either a string or an array. Arrays will be converted to JSON. |
Return type
bool