LukePOLO\LaraCart\CartItem::removeSubItem PHP Method

removeSubItem() public method

Removes a sub item from the item.
public removeSubItem ( $subItemHash )
$subItemHash
    public function removeSubItem($subItemHash)
    {
        unset($this->subItems[$subItemHash]);
        $this->generateHash();
    }