コード例 #1
0
ファイル: RecorderEntry.php プロジェクト: Ingewikkeld/phing
 /**
  * Closes the file associated with this recorder.
  * Used by Recorder.
  */
 public function closeFile()
 {
     if ($this->out != null) {
         $this->out->close();
         $this->out = null;
     }
 }
コード例 #2
0
ファイル: FilterOutputStream.php プロジェクト: rgantt/japha
 /**
  * Closes this output stream and releases any system resources associated with the stream. 
  * The close method of FilterOutputStream calls its flush method, and then calls the 
  * close method of its underlying output stream. 
  *
  * @overrides close in class OutputStream
  * @throws IOException If an I/O error occurs.
  * @see flush(), out
  */
 public function close()
 {
     $this->flush();
     parent::close();
 }
コード例 #3
0
 /**
  * Close the stream.
  */
 public function close()
 {
     return $this->outStream->close();
 }