Added InstanceIdentifier

This commit is contained in:
Patrick Henninger
2018-12-21 17:11:18 +01:00
parent d947fe8a57
commit 706261dd4f
2 changed files with 27 additions and 0 deletions

View 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);
}