ldc-mesbr-app/app/Http/Requests/Bo/Users/DestroyUserRequest.php

32 lines
546 B
PHP
Raw Permalink Normal View History

<?php
2025-11-06 16:17:22 +01:00
namespace App\Http\Requests\Bo\Users;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth;
2025-11-06 16:17:22 +01:00
class DestroyUserRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
2025-11-06 16:17:22 +01:00
return Auth::check();
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
2025-11-06 16:17:22 +01:00
//
];
}
}