Prado\IO\TTextWriter::writeLine PHP Метод

writeLine() публичный Метод

Writers a string and terminates it with a newline.
См. также: write
public writeLine ( $str = '' )
    public function writeLine($str = '')
    {
        $this->write($str . "\n");
    }

Usage Example

Пример #1
0
 public function testWriteLine()
 {
     $writer = new TTextWriter();
     $writer->writeLine('some text');
     self::assertEquals("some text\n", $writer->flush());
 }