17 lines
462 B
PHP
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();
|
||
|
|
||
|
}
|