Webmozart\Console\UI\Component\Table::setRows PHP Method

setRows() public method

Sets the rows in the table.
public setRows ( array $rows ) : static
$rows array The rows to set.
return static The current instance.
    public function setRows(array $rows)
    {
        $this->rows = array();
        $this->addRows($rows);
        return $this;
    }