14 lines
353 B
PHP
14 lines
353 B
PHP
<?php
|
|
|
|
namespace Modules\Admin\Repositories;
|
|
|
|
interface DepartmentInterface
|
|
{
|
|
public function pluck();
|
|
public function findAll();
|
|
public function getDepartmentById($departmentId);
|
|
public function delete($departmentId);
|
|
public function create(array $departmentDetails);
|
|
public function update($departmentId, array $newDetails);
|
|
}
|