Platformsh\Cli\Console\AdaptiveTable::addRow PHP Method

addRow() public method

Overrides Table->addRow() so the row content can be accessed.
public addRow ( $row )
    public function addRow($row)
    {
        if ($row instanceof TableSeparator) {
            $this->rowsCopy[] = $row;
            return parent::addRow($row);
        }
        if (!is_array($row)) {
            throw new \InvalidArgumentException('A row must be an array or a TableSeparator instance.');
        }
        $this->rowsCopy[] = array_values($row);
        return parent::addRow($row);
    }