$file->append($content)

Appends the content and saves the file

  • $content (string)
  • return (boolean)

This documentation entry is inherited from the Media class.

Example

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

Is something missing or incorrect? Edit this page on Github…