create safety and privacy controller

This commit is contained in:
2025-03-01 16:02:33 +03:30
parent 8a4b16626f
commit cb91f469f8
7 changed files with 317 additions and 14 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Http\Requests\V3\SafetyAndPrivacy;
use Illuminate\Foundation\Http\FormRequest;
class ThirdStepStoreRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'action_picture' => 'required|image',
];
}
}