$media->append($content)

Appends the content and saves the file

  • $content (string)
  • return (boolean)

Example

$media->append('[' . date('r') . "] Something interesting happened to this log.\n");