opnform/app/Http/Requests/AiGenerateFormRequest.php

21 lines
377 B
PHP
Raw Permalink Normal View History

2023-03-26 10:54:12 +00:00
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AiGenerateFormRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
2024-02-23 10:54:12 +00:00
'form_prompt' => 'required|string|max:1000',
2023-03-26 10:54:12 +00:00
];
}
}