StocksNew/Modules/Product/app/Repositories/ProductInterface.php

17 lines
435 B
PHP
Raw Normal View History

2024-08-27 17:48:06 +05:45
<?php
namespace Modules\Product\Repositories;
interface ProductInterface
{
public function findAll();
public function getProductById($ProductId);
public function getProductByEmail($email);
2024-09-17 16:34:40 +05:45
public function getProductsByCategory($categoryId);
2024-08-27 17:48:06 +05:45
public function delete($ProductId);
public function create($ProductDetails);
public function update($ProductId, array $newDetails);
public function pluck();
}