private function doVolumeRepack(iterable $items): PackedBoxList
    {
        $packer = new Packer();
        $packer->setBoxes($this->boxes); // use the full set of boxes to allow smaller/larger for full efficiency
        $packer->setItems($items);

        return $packer->doVolumePacking();
    }
private function doVolumeRepack(iterable $items): PackedBoxList
    {
        $packer = new Packer();
        $packer->setBoxes($this->boxes); // use the full set of boxes to allow smaller/larger for full efficiency
        $packer->setItems($items);

        return $packer->doVolumePacking();
    }
private function doVolumeRepack ( iterable $ items ) : PackedBoxList { $ packer = new Packer ( ) ; $ packer -> setBoxes ( $ this -> boxes ) ; // use the full set of boxes to allow smaller/larger for full efficiency $ packer -> setItems ( $ items ) ; return $ packer -> doVolumePacking ( ) ; }
Do a volume repack of a set of items.

@param iterable $items

@return PackedBoxList
Do a volume repack of a set of items .