createRow() public method

Create row
public createRow ( ) : PhpOffice\PhpPresentation\Shape\Table\Row
return PhpOffice\PhpPresentation\Shape\Table\Row
Example #1
0
 public function testRows()
 {
     $object = new Table();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Table\\Row', $object->createRow());
     $this->assertCount(1, $object->getRows());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Table\\Row', $object->getRow(0));
     $this->assertNull($object->getRow(1, true));
 }