16 lines
363 B
PHP
16 lines
363 B
PHP
<?php
|
|
|
|
namespace Modules\Order\Repositories;
|
|
|
|
interface OrderInterface
|
|
{
|
|
public function findAll();
|
|
public function getOrderById($OrderId);
|
|
public function getOrderByEmail($email);
|
|
public function delete($OrderId);
|
|
public function create($OrderDetails);
|
|
public function update($OrderId, array $newDetails);
|
|
public function pluck();
|
|
|
|
}
|