Files
LaravelShoppingcart/src/Contracts/InstanceIdentifier.php
2019-01-14 18:05:10 +01:00

21 lines
421 B
PHP

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