public function renderSectionFooter($sectionName = '')
{
if ($this->isSilent()) {
return $this;
}
fputs($this->file, '</browscapitem>' . PHP_EOL);
return $this;
}
/** * tests rendering the footer of one section * * @group writer * @group sourcetest */ public function testRenderSectionFooterIfSilent() { $this->object->setSilent(true); self::assertSame($this->object, $this->object->renderSectionFooter()); self::assertSame('', file_get_contents($this->file)); }