mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-16 04:44:36 +00:00
Added InstanceIdentifier
This commit is contained in:
20
src/Contracts/InstanceIdentifier.php
Normal file
20
src/Contracts/InstanceIdentifier.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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);
|
||||
}
|
||||
Reference in New Issue
Block a user