src/Contao/Database/FakeResult.php
public function addRows($data)
    {
        foreach ($data as $key => $row) {
            $this->addRow($row, isset($row['id']) ? $row['id'] : $key);
        }

        return $this;
    }
public function addRows($data)
    {
        foreach ($data as $key => $row) {
            $this->addRow($row, isset($row['id']) ? $row['id'] : $key);
        }

        return $this;
    }
public function addRows ( $ data ) { foreach ( $ data as $ key => $ row ) { $ this -> addRow ( $ row , isset ( $ row [ 'id' ] ) ? $ row [ 'id' ] : $ key ) ; } return $ this ; }
Add rows.

@param array $data The row data.

@return FakeResult
Add rows .