mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-20 14:25:09 +00:00
add options to buyable methods
This commit is contained in:
@@ -9,19 +9,19 @@ interface Buyable
|
||||
*
|
||||
* @return int|string
|
||||
*/
|
||||
public function getBuyableIdentifier();
|
||||
public function getBuyableIdentifier($options = null);
|
||||
|
||||
/**
|
||||
* Get the description or title of the Buyable item.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBuyableDescription();
|
||||
public function getBuyableDescription($options = null);
|
||||
|
||||
/**
|
||||
* Get the price of the Buyable item.
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function getBuyablePrice();
|
||||
public function getBuyablePrice($options = null);
|
||||
}
|
||||
Reference in New Issue
Block a user