16 lines
387 B
PHP
16 lines
387 B
PHP
<?php
|
|
|
|
namespace Modules\Supplier\Repositories;
|
|
|
|
interface SupplierInterface
|
|
{
|
|
public function findAll();
|
|
public function getSupplierById($SupplierId);
|
|
public function getSupplierByEmail($email);
|
|
public function delete($SupplierId);
|
|
public function create($SupplierDetails);
|
|
public function update($SupplierId, array $newDetails);
|
|
public function pluck();
|
|
|
|
}
|