Foundation/Collection.php
public function setMany(array $data)
    {
        foreach($data as $key => $value) {
            $this->_data[$key] = $value;
        }

        return $this;
    }
public function setMany(array $data)
    {
        foreach($data as $key => $value) {
            $this->_data[$key] = $value;
        }

        return $this;
    }
public function setMany ( array $ data ) { foreach ( $ data as $ key => $ value ) { $ this -> _data [ $ key ] = $ value ; } return $ this ; }
Merges the given array of data with the collection data.

@param array $data
@return \m\Foundation\Collection
Merges the given array of data with the collection data .