first change
This commit is contained in:
16
Modules/Product/app/Interfaces/ProductInterface.php
Normal file
16
Modules/Product/app/Interfaces/ProductInterface.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Product\Interfaces;
|
||||
|
||||
interface ProductInterface
|
||||
{
|
||||
public function findAll();
|
||||
public function getProductById($productId);
|
||||
public function getProductList();
|
||||
public function create(array $productDetails);
|
||||
public function update($productId, array $newDetails);
|
||||
public function delete($productId);
|
||||
public function pluck();
|
||||
public function count();
|
||||
public function client();
|
||||
}
|
Reference in New Issue
Block a user