mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
21 lines
421 B
PHP
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);
|
|
}
|