PhpOffice\PhpPresentation\Shape\Table::getRows PHP Method

getRows() public method

Get rows
public getRows ( ) : PhpOffice\PhpPresentation\Shape\Table\Row[]
return PhpOffice\PhpPresentation\Shape\Table\Row[]
    public function getRows()
    {
        return $this->rows;
    }

Usage Example

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));
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Table::getRows