Generates a end sequence for the output file
public fileEnd ( ) : Browscap\Writer\WriterInterface | ||
return | Browscap\Writer\WriterInterface |
/** * tests rendering the end of the file * * @group writer * @group sourcetest */ public function testFileEndIfSilent() { $this->object->setSilent(true); self::assertSame($this->object, $this->object->fileEnd()); self::assertSame('', file_get_contents($this->file)); }