Heystack\Ecommerce\Purchasable\Interfaces\PurchasableHolderInterface::addPurchasable
Add a purchasable to the implementing class
Signature
public function addPurchasable(PurchasableInterface
$purchasable,
[integer
$quantity = 1] )
Parameters
$purchasable
— \Heystack\Ecommerce\Purchasable\Interfaces\PurchasableInterface
$quantity
— integer
Returns
- void