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