StocksNew/Modules/Ingredient/app/Repositories/IngredientInterface.php

17 lines
462 B
PHP
Raw Normal View History

2024-09-19 18:33:08 +05:45
<?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();
}