flush() public method

This will invoke the underlying writer's flush method.
public flush ( ) : string
return string the content being flushed
示例#1
0
 public function testFlush()
 {
     $writer = new THtmlWriter(self::$output);
     $writer->write('Some Text');
     $writer->flush();
     self::assertEquals('Some Text', self::$output->getFlushedContent());
 }