StocksNew/Modules/User/app/Repositories/PermissionInterface.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

17 lines
442 B
PHP

<?php
namespace Modules\User\Repositories;
interface PermissionInterface
{
public function findAll();
public function getPermissionById($permissionId);
public function delete($permissionId);
public function create(array $permissionDetails);
public function update($permissionId, array $newDetails);
public function getPermissionListsArrangedByPrefix();
public static function generatePermissionFromRoutes();
}