<?php

namespace Kylin\Rbac\Facades;

use Illuminate\Support\Facades\Facade;

/**
 * @method static \Kylin\Rbac\Models\Role createRole(string $name, ?string $displayName = null, ?string $guardName = null, ?string $description = null)
 * @method static \Kylin\Rbac\Models\Permission createPermission(string $name, ?string $displayName = null, ?string $module = null, ?string $guardName = null, ?string $description = null)
 * @method static void syncRolePermissions(\Kylin\Rbac\Models\Role $role, array $permissionNames)
 * @method static array getRolePermissions(string $roleName, ?string $guardName = null)
 */
class KylinRbac extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return 'kylin-rbac';
    }
}
