Example #1
0
 /**
  * Closes the specified stream. This will first flush the stream before closing.
  */
 public function close()
 {
     if ($this->fp) {
         fclose($this->fp);
         $this->fp = null;
         MOXMAN_Vfs_Local_File::chmod($this->file);
     }
 }