fileStart() 공개 메소드

Generates a start sequence for the output file
public fileStart ( ) : Browscap\Writer\WriterInterface
리턴 Browscap\Writer\WriterInterface
예제 #1
0
 /**
  * tests rendering the start of the file
  *
  * @group writer
  * @group sourcetest
  */
 public function testFileStartIfSilent()
 {
     $this->object->setSilent(true);
     self::assertSame($this->object, $this->object->fileStart());
     self::assertSame('', file_get_contents($this->file));
 }