f::write($file, $content, $append = false)

Creates a new file

  • $file (string)
    The path for the new file
  • $content (mixed)
    Either a string, an object or an array. Arrays and objects will be serialized.
  • $append (boolean)
    true: append the content to an exisiting file if available. false: overwrite.
  • return (boolean)

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