repo_pattern/app/Interfaces/OrderRepositoryInterface.php
2024-02-13 13:11:11 +05:45

14 lines
355 B
PHP

<?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();
}