first change
This commit is contained in:
14
Modules/Leave/app/Repositories/LeaveInterface.php
Normal file
14
Modules/Leave/app/Repositories/LeaveInterface.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Leave\Repositories;
|
||||
|
||||
interface LeaveInterface
|
||||
{
|
||||
public function findAll($filters = [], $limit = null, $offset = null);
|
||||
public function getLeaveById($leaveId);
|
||||
public function where(array $filter);
|
||||
public function delete($leaveId);
|
||||
public function create(array $LeaveDetails);
|
||||
public function update($leaveId, array $newDetails);
|
||||
public function getLeaveByEmployeeId(int $id);
|
||||
}
|
Reference in New Issue
Block a user