<?php

namespace App\Http\Controllers\Api\v1;

use App\Helpers\ApiResponse;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
use Illuminate\Validation\ValidationException;
use Spatie\Permission\Models\Permission;

            'group' => $permissionGroupName,
            'permission' => $permission->name,
            'roles' => $permission->roles->pluck('name'),
        ]);
    }
}
