renderDivisionHeader() public méthode

renders the header for a division
public renderDivisionHeader ( string $division, string $parent = 'DefaultProperties' ) : Browscap\Writer\WriterInterface
$division string
$parent string
Résultat Browscap\Writer\WriterInterface
Exemple #1
0
 /**
  * tests rendering the header of one division
  *
  * @group writer
  * @group sourcetest
  */
 public function testRenderDivisionHeaderIfSilent()
 {
     $this->object->setSilent(true);
     self::assertSame($this->object, $this->object->renderDivisionHeader('test'));
     self::assertSame('', file_get_contents($this->file));
 }