StocksNew/Modules/Ingredient/app/Repositories/IngredientInterface.php
2024-09-19 18:33:08 +05:45

17 lines
462 B
PHP

<?php
namespace Modules\Ingredient\Repositories;
interface IngredientInterface
{
public function findAll();
public function getIngredientById($IngredientId);
public function getIngredientByEmail($email);
public function getIngredientsByCategory($categoryId);
public function delete($IngredientId);
public function create($IngredientDetails);
public function update($IngredientId, array $newDetails);
public function pluck();
}