writeLine() public method

Renders a string and appends a newline to it.
public writeLine ( $str = '' )
Beispiel #1
0
 public function testWriteLine()
 {
     $writer = new THtmlWriter(self::$output);
     $writer->writeLine('Some Text');
     self::assertEquals("Some Text\n", self::$output->flush());
 }