2024-08-27 12:03:06 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Product\Repositories;
|
|
|
|
|
|
|
|
interface ProductInterface
|
|
|
|
{
|
|
|
|
public function findAll();
|
|
|
|
public function getProductById($ProductId);
|
|
|
|
public function getProductByEmail($email);
|
2024-09-17 10:49:40 +00:00
|
|
|
public function getProductsByCategory($categoryId);
|
2024-08-27 12:03:06 +00:00
|
|
|
public function delete($ProductId);
|
|
|
|
public function create($ProductDetails);
|
|
|
|
public function update($ProductId, array $newDetails);
|
|
|
|
public function pluck();
|
|
|
|
|
|
|
|
}
|