Download app/Http/Requests/Settings/ProfileDeleteRequest.php from lifedebugger/CAPS04-FE-REFACTOR-2: direct link, hf CLI and curl.
- Browser
- Download file 549 Bytes
-
https://huggingface.co/spaces/lifedebugger/CAPS04-FE-REFACTOR-2/resolve/main/app/Http/Requests/Settings/ProfileDeleteRequest.php
- Command line
-
hf download hf://spaces/lifedebugger/CAPS04-FE-REFACTOR-2/app/Http/Requests/Settings/ProfileDeleteRequest.php
-
curl -L -o ProfileDeleteRequest.php https://huggingface.co/spaces/lifedebugger/CAPS04-FE-REFACTOR-2/resolve/main/app/Http/Requests/Settings/ProfileDeleteRequest.php
549 Bytes
| namespace App\Http\Requests\Settings; | |
| use App\Concerns\PasswordValidationRules; | |
| use Illuminate\Contracts\Validation\ValidationRule; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| class ProfileDeleteRequest extends FormRequest | |
| { | |
| use PasswordValidationRules; | |
| /** | |
| * Get the validation rules that apply to the request. | |
| * | |
| * @return array<string, ValidationRule|array<mixed>|string> | |
| */ | |
| public function rules(): array | |
| { | |
| return [ | |
| 'password' => $this->currentPasswordRules(), | |
| ]; | |
| } | |
| } | |