src/Collection/Mutable.php
public function updateMany(array $ids = []): self
    {
        foreach ($ids as $id => $callback) {
            $this->update($id, $callback);
        }

        return $this;
    }
public function updateMany(array $ids = []): self
    {
        foreach ($ids as $id => $callback) {
            $this->update($id, $callback);
        }

        return $this;
    }
public function updateMany ( array $ ids = [ ] ) : self { foreach ( $ ids as $ id => $ callback ) { $ this -> update ( $ id , $ callback ) ; } return $ this ; }
Update many elements at once.

@param $ids

@return $this
Update many elements at once .