fileStart() public method

Generates a start sequence for the output file
public fileStart ( ) : Browscap\Writer\WriterInterface
return Browscap\Writer\WriterInterface
コード例 #1
0
ファイル: CsvWriterTest.php プロジェクト: browscap/browscap
 /**
  * tests rendering the start of the file
  *
  * @group writer
  * @group sourcetest
  */
 public function testFileStart()
 {
     self::assertSame($this->object, $this->object->fileStart());
     self::assertSame('', file_get_contents($this->file));
 }