13 lines
338 B
PHP
13 lines
338 B
PHP
<?php
|
|
|
|
namespace Modules\Leave\Repositories;
|
|
|
|
interface LeaveInterface
|
|
{
|
|
public function findAll($filters = [], $limit = null, $offset = null);
|
|
public function getLeaveById($leaveId);
|
|
public function delete($leaveId);
|
|
public function create(array $LeaveDetails);
|
|
public function update($leaveId, array $newDetails);
|
|
}
|