Added Repository draft

This commit is contained in:
Kevin Frantz
2018-07-14 00:46:40 +02:00
parent 562f12c059
commit db1a0acd80
3 changed files with 66 additions and 0 deletions

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