src/Endpoint/Abstracts/AbstractCollectionEndpoint.php
public function update(array $collection){
        foreach($collection as $key => $value){
            $this->collection[$key] = $value;
        }
        return $this;
    }
public function update(array $collection){
        foreach($collection as $key => $value){
            $this->collection[$key] = $value;
        }
        return $this;
    }
public function update ( array $ collection ) { foreach ( $ collection as $ key => $ value ) { $ this -> collection [ $ key ] = $ value ; } return $ this ; }
Update and append to Collection array
@param array $collection
@return self
Update and append to Collection array