writeLine() public method

Writers a string and terminates it with a newline.
See also: write
public writeLine ( $str = '' )
示例#1
0
 public function testWriteLine()
 {
     $writer = new TTextWriter();
     $writer->writeLine('some text');
     self::assertEquals("some text\n", $writer->flush());
 }