mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-09-09 11:27:13 +02:00
Added Repository draft
This commit is contained in:
20
src/repository/order/OrderInterface.php
Normal file
20
src/repository/order/OrderInterface.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace repository\order;
|
||||
|
||||
use entity\order\OrderInterface as OrderEntityInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
interface OrderInterface
|
||||
{
|
||||
public function saveOrder(OrderEntityInterface $order):void;
|
||||
|
||||
/**
|
||||
* This function just exists for maintaining reasons
|
||||
*/
|
||||
public function deleteAllOrders():void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user