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

flush() public method

Forces all pending text to be written out.
public flush ( )
    public function flush()
    {
        $this->stream->flush();
    }

Usage Example

示例#1
0
 public function testFlush()
 {
     $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\OutputStream');
     $stream->expects($this->once())->method('flush');
     $this->output->setStream($stream);
     $this->output->flush();
 }
All Usage Examples Of Webmozart\Console\Api\IO\Output::flush