wearepixel / laravel-cart

MIT License
5 stars 1 forks source link

Method updates #14

Open joelwmale opened 2 months ago

joelwmale commented 2 months ago

This package was inherited and not changed too much to ensure backward compatibility.

I suggest updating some function names to have them make more sense, and deprecate the old ones to be removed in the next major update.

Some examples:

public function condition(array|CartCondition $condition): self -> public function addCondition(CartCondition $condition): self