Files
LaravelShoppingcart/src/Contracts/InstanceIdentifier.php
2022-02-03 00:22:57 +01:00

19 lines
365 B
PHP

<?php
namespace Gloudemans\Shoppingcart\Contracts;
interface InstanceIdentifier
{
/**
* Get the unique identifier to load the Cart from.
*
* @return int|string
*/
public function getInstanceIdentifier();
/**
* Get the unique identifier to load the Cart from.
*/
public function getInstanceGlobalDiscount(): float;
}