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

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\Table instance
public __construct ( integer $columns = 1 )
$columns integer Number of columns
    public function __construct($columns = 1)
    {
        // Initialise variables
        $this->rows = array();
        $this->columnCount = $columns;
        // Initialize parent
        parent::__construct();
        // No resize proportional
        $this->resizeProportional = false;
    }