mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-20 22:35:14 +00:00
19 lines
365 B
PHP
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;
|
|
}
|