17 lines
425 B
PHP
17 lines
425 B
PHP
<?php
|
|
|
|
namespace Modules\Employee\Repositories;
|
|
use Modules\Employee\Models\Employee;
|
|
|
|
interface EmployeeInterface
|
|
{
|
|
public function findAll();
|
|
public function getEmployeeById($employeeId);
|
|
public function getEmployeeByEmail($email);
|
|
public function delete($employeeId);
|
|
public function create($EmployeeDetails);
|
|
public function update($employeeId, array $newDetails);
|
|
public function pluck();
|
|
|
|
}
|