function addElements($multiPart)
    {
        if (! is_array($multiPart) )
            throw new \InvalidArgumentException(sprintf(
                'Accept array of Files; given: "%s".'
                , \Poirot\Std\flatten($multiPart)
            ));


        foreach($multiPart as $name => $element)
            $this->addElement($name, $element);
        
        $this->addElementDone();
        
        return $this;
    }
function addElements($multiPart)
    {
        if (! is_array($multiPart) )
            throw new \InvalidArgumentException(sprintf(
                'Accept array of Files; given: "%s".'
                , \Poirot\Std\flatten($multiPart)
            ));


        foreach($multiPart as $name => $element)
            $this->addElement($name, $element);
        
        $this->addElementDone();
        
        return $this;
    }
function addElements ( $ multiPart ) { if ( ! is_array ( $ multiPart ) ) throw new \ InvalidArgumentException ( sprintf ( 'Accept array of Files; given: "%s".' , \ Poirot \ Std \ flatten ( $ multiPart ) ) ) ; foreach ( $ multiPart as $ name => $ element ) $ this -> addElement ( $ name , $ element ) ; $ this -> addElementDone ( ) ; return $ this ; }
Append Boundary Elements

@param array|string $multiPart

@return $this
Append Boundary Elements