Generate the header
public renderHeader ( array $comments = [] ) : Browscap\Writer\WriterInterface | ||
$comments | array | |
리턴 | Browscap\Writer\WriterInterface |
/** * tests rendering the header information * * @group writer * @group sourcetest */ public function testRenderHeader() { $header = ['TestData to be renderd into the Header']; self::assertSame($this->object, $this->object->renderHeader($header)); self::assertSame('', file_get_contents($this->file)); }