Heystack\Ecommerce\Purchasable\Interfaces\PurchasableHolderInterface::getPurchasablesByPrimaryIdentifier
Retrieves purchasables from the implementing class' internal cache of purchasables using the Primary string on the Identifier object
Signature
public function getPurchasablesByPrimaryIdentifier(IdentifierInterface
$identifier )
Parameters
$identifier
— \Heystack\Core\Identifier\IdentifierInterface
Returns
- array