public function decreaseCartLineQuantity(
        CartLineInterface $cartLine,
        $quantity
    ) {
        if (!is_int($quantity) || empty($quantity)) {
            return $this;
        }

        return $this->increaseCartLineQuantity(
            $cartLine,
            ($quantity * -1)
        );
    }
public function decreaseCartLineQuantity(
        CartLineInterface $cartLine,
        $quantity
    ) {
        if (!is_int($quantity) || empty($quantity)) {
            return $this;
        }

        return $this->increaseCartLineQuantity(
            $cartLine,
            ($quantity * -1)
        );
    }
public function decreaseCartLineQuantity ( CartLineInterface $ cartLine , $ quantity ) { if ( ! is_int ( $ quantity ) || empty ( $ quantity ) ) { return $ this ; } return $ this -> increaseCartLineQuantity ( $ cartLine , ( $ quantity * - 1 ) ) ; }
Removes quantity to cartLine.

If quantity is 0, deletes whole line

This method dispatches all Cart Check and Load events

@param CartLineInterface $cartLine Cart line
@param int               $quantity Number of units to decrease CartLine quantity

@return $this Self object
Removes quantity to cartLine .