flush() 공개 메소드

This will invoke the underlying writer's flush method.
public flush ( ) : string
리턴 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());
 }