Webmozart\Console\Api\IO\Output::close PHP Method

close() public method

Closes the output.
public close ( )
    public function close()
    {
        $this->stream->close();
    }

Usage Example

コード例 #1
0
ファイル: OutputTest.php プロジェクト: webmozart/console
 public function testClose()
 {
     $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\OutputStream');
     $stream->expects($this->once())->method('close');
     $this->output->setStream($stream);
     $this->output->close();
 }
All Usage Examples Of Webmozart\Console\Api\IO\Output::close