dir::remove($dir, $keep = false)

Deletes a directory

  • $dir (string)
    The path of the directory
  • $keep (boolean)
    If set to true, the directory will flushed but not removed.
  • return (boolean)
    True: the directory has been removed, false: removing failed

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