first commit
This commit is contained in:
15
Modules/Product/app/Repositories/ProductInterface.php
Normal file
15
Modules/Product/app/Repositories/ProductInterface.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Product\Repositories;
|
||||
|
||||
interface ProductInterface
|
||||
{
|
||||
public function findAll();
|
||||
public function getProductById($ProductId);
|
||||
public function getProductByEmail($email);
|
||||
public function delete($ProductId);
|
||||
public function create($ProductDetails);
|
||||
public function update($ProductId, array $newDetails);
|
||||
public function pluck();
|
||||
|
||||
}
|
Reference in New Issue
Block a user