public function addMany(array $data)
    {
        foreach ($data as $name => $value) {
            $this->add($name, $value);
        }

        return $this;
    }
public function addMany(array $data)
    {
        foreach ($data as $name => $value) {
            $this->add($name, $value);
        }

        return $this;
    }
public function addMany ( array $ data ) { foreach ( $ data as $ name => $ value ) { $ this -> add ( $ name , $ value ) ; } return $ this ; }
Add multiple parts at once.

Iterates the parameter and adds all the key/values.

@param array $data Array of data to add.
@return $this
Add multiple parts at once .