AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProfileDeleteRequest.php 549B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Http\Requests\Settings;
  3. use App\Concerns\PasswordValidationRules;
  4. use Illuminate\Contracts\Validation\ValidationRule;
  5. use Illuminate\Foundation\Http\FormRequest;
  6. class ProfileDeleteRequest extends FormRequest
  7. {
  8. use PasswordValidationRules;
  9. /**
  10. * Get the validation rules that apply to the request.
  11. *
  12. * @return array<string, ValidationRule|array<mixed>|string>
  13. */
  14. public function rules(): array
  15. {
  16. return [
  17. 'password' => $this->currentPasswordRules(),
  18. ];
  19. }
  20. }