2024-04-07 11:54:18 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Employee\Repositories;
|
|
|
|
|
|
|
|
interface EmployeeInterface
|
|
|
|
{
|
|
|
|
public function findAll();
|
|
|
|
public function getEmployeeById($employeeId);
|
2024-04-10 09:30:24 +00:00
|
|
|
public function getEmployeeByEmail($email);
|
2024-04-07 11:54:18 +00:00
|
|
|
public function delete($employeeId);
|
|
|
|
public function create($EmployeeDetails);
|
|
|
|
public function update($employeeId, array $newDetails);
|
2024-04-11 10:52:12 +00:00
|
|
|
public function pluck();
|
|
|
|
|
2024-04-07 11:54:18 +00:00
|
|
|
}
|