close() 공개 메소드

Closes the output.
public close ( )
예제 #1
0
 public function testClose()
 {
     $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\OutputStream');
     $stream->expects($this->once())->method('close');
     $this->output->setStream($stream);
     $this->output->close();
 }
예제 #2
0
파일: IO.php 프로젝트: webmozart/console
 /**
  * Closes the input and the outputs.
  */
 public function close()
 {
     $this->input->close();
     $this->output->close();
     $this->errorOutput->close();
 }