repository pattern
This commit is contained in:
13
app/Interfaces/OrderRepositoryInterface.php
Normal file
13
app/Interfaces/OrderRepositoryInterface.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface OrderRepositoryInterface
|
||||
{
|
||||
public function getAllOrders();
|
||||
public function getOrderById($orderId);
|
||||
public function deleteOrder($orderId);
|
||||
public function createOrder(array $orderDetails);
|
||||
public function updateOrder($orderId, array $newDetails);
|
||||
public function getFulfilledOrders();
|
||||
}
|
Reference in New Issue
Block a user