public function writingAfterClose()
 {
     with($stream = new FileOutputStream($this->file));
     $stream->close();
     $stream->write('');
 }
Ejemplo n.º 2
0
 public function cannot_write_after_closing()
 {
     with($stream = new FileOutputStream($this->file));
     $stream->close();
     $stream->write('');
 }