16 lines
387 B
PHP
16 lines
387 B
PHP
<?php
|
|
|
|
namespace Modules\Customer\Repositories;
|
|
|
|
interface CustomerInterface
|
|
{
|
|
public function findAll();
|
|
public function getCustomerById($CustomerId);
|
|
public function getCustomerByEmail($email);
|
|
public function delete($CustomerId);
|
|
public function create($CustomerDetails);
|
|
public function update($CustomerId, array $newDetails);
|
|
public function pluck();
|
|
|
|
}
|